Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <style>
- div {
- color: white;
- font-size: 9px;
- }
- .toprow {
- clear: right;
- float: left;
- width: 25px;
- height: 25px;
- background-color: #0099CC;
- border: 1px solid black;
- margin-left: 15px;
- }
- .leftside {
- clear: bottom;
- float: top;
- width: 25px;
- height: 50px;
- background-color: #000000;
- margin-top: 15px;
- }
- .leftholder {
- position: absolute;
- top: 30px;
- }
- .quadholder {
- position:absolute;
- top: 45px;
- left: 60px;
- }
- .lefttablest {
- float: right;
- clear: left;
- width: 25px;
- height: 25px;
- background-color: #000000;
- margin-top: 15px;
- margin-left: 15px;
- }
- .lefttablesb {
- float: left;
- clear: right;
- width: 25px;
- height: 25px;
- background-color: #000000;
- margin-top: 15px;
- margin-left: 15px;
- top: 0px;
- }
- .leftbtm {
- position: absolute;
- top: 160px;
- left: 60px;
- }
- .leftbtmtbl {
- width: 25px;
- height: 25px;
- margin-left: 15px;
- margin-top: 15px;
- background-color: black;
- float: left;
- clear: right;
- }
- .leftright {
- position: absolute;
- top: 45px;
- left: 165px;
- }
- .lrtbls {
- width: 25px;
- height: 25px;
- margin-left: 15px;
- margin-top: 15px;
- background-color: black;
- float: bottom;
- clear: top;
- }
- </style>
- <script>
- window.onload=function() {
- //document.getElementById("3").innerHTML += document.getElementById("4").offsetTop + ", " + document.getElementById("4").offsetLeft;
- }
- function doClick(me) {
- alert(me);
- }
- </script>
- <body>
- <div class="toprow" id="6" onClick="doClick(this.id);">6</div>
- <div class="toprow" id="7">7</div>
- <div class="toprow" id="8">8</div>
- <div class="toprow" id="9">9</div>
- <div class="leftholder">
- <div class="leftside"></div>
- <div class="leftside"></div>
- <div class="leftside" id="3"></div>
- <div class="leftside"></div>
- <div class="leftside"></div>
- </div>
- <div class="quadholder">
- <div class="lefttablest">37</div>
- <div class="lefttablest">25</div>
- <div class="lefttablesb">24</div>
- <div class="lefttablesb" id="4">36</div>
- </div>
- <div class="leftbtm">
- <div class="leftbtmtbl"></div>
- <div class="leftbtmtbl"></div>
- <br>
- <br>
- <br>
- <div class="leftbtmtbl"></div>
- <div class="leftbtmtbl"></div>
- <br>
- <br>
- <br>
- <div class="leftbtmtbl"></div>
- <div class="leftbtmtbl"></div>
- </div>
- <div class="leftright">
- <div class="lrtbls"></div>
- <div class="lrtbls"></div>
- <div class="lrtbls"></div>
- <div class="lrtbls"></div>
- <div class="lrtbls"></div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement