Guest User

Untitled

a guest
Sep 24th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.18 KB | None | 0 0
  1. <head>
  2.   <style type="text/css">
  3.      #nav1:hover,#nav2:hover,#nav3:hover,#nav4:hover,#nav5:hover,#nav6:hover,#nav7:hover,#nav8:hover,#nav9:hover{
  4.       border:1px #999999 solid;
  5.       box-shadow:0px 0px 10px #999999;
  6.     }
  7.  
  8.     #nav1,#nav2,#nav3,#nav4,#nav5,#nav6,#nav7,#nav8,#nav9{
  9.       border-radius:3px;
  10.       border:1px #B8B8B8  solid;
  11.     }
  12.      td{
  13.             text-align: center;
  14.         }
  15.         table{
  16.             margin-left:auto;
  17.             margin-right:auto;
  18.         }
  19.   </style>
  20. </head>
  21. <body>
  22.    <script type="text/javascript">
  23.      function GetSize() {
  24.         var Table_Start = document.getElementById("Table_Start");
  25.         alert("Width : " + Table_Start.width + " | Height : " + Table_Start.height);
  26.     }
  27.  </script>
  28.  
  29.  <table style="width: 100%; height: 100%; " id="Table_Start">
  30.         <tr>
  31.             <td class="auto-style11" style="width: 30%; height: 30%">
  32.        <img alt="Failed to load Quick Nav #1" src=""
  33.           style="position: relative; top: 0px; left: 0px; height: 90%  ; width: 90%; cursor: pointer" id="nav1" /></td>
  34.             <td class="auto-style11" style="width: 30%; height: 30%">
  35.        <img alt="Failed to load Quick Nav #2" src=""
  36.           style="position: relative; top: 0px; left: 0px; height: 90%; width: 90%;cursor: pointer" id="nav2" /></td>
  37.             <td class="auto-style11" style="width: 30%; height: 30%">
  38.        <img alt="Failed to load Quick Nav #3" src=""
  39.           style="top: 0px; left:0px ; height: 90%; width: 90%; text-align: center;cursor: pointer" id="nav3" /></td>
  40.         </tr>
  41.         <tr>
  42.             <td class="auto-style7" style="width: 30%; height: 30%">
  43.        <img alt="Failed to load Quick Nav #4" src=""
  44.           style="position: relative; top: 0px; left: 0px; height: 90%; width: 90%;cursor: pointer" id="nav4" /></td>
  45.             <td class="auto-style5" style="width: 30%; height: 30%">
  46.        <img alt="Failed to load Quick Nav #5" src=""
  47.           style="position: relative; top: 0px; left: 0px; height: 90%; width: 90%;cursor: pointer" id="nav5" /></td>
  48.             <td class="auto-style11" style="width: 30%; height: 30%">
  49.        <img alt="Failed to load Quick Nav #6" src=""
  50.           style="position: relative; top: 0px; left: 0px; height: 90%; width: 90%;cursor: pointer" id="nav6" /></td>
  51.         </tr>
  52.         <tr>
  53.             <td class="auto-style8" style="width: 30%; height: 30%">
  54.        <img alt="Failed to load Quick Nav #7" src=""
  55.           style="position: relative; top: 0px; left: 0px; height: 90%; width: 90%;cursor: pointer" id="nav7" /></td>
  56.             <td class="auto-style9" style="width: 30%; height: 30%">
  57.        <img alt="Failed to load Quick Nav #8" src=""
  58.           style="height: 90%; width: 90%; position: relative; top: 0px; left: 0px;cursor: pointer" id="nav8" /></td>
  59.             <td class="auto-style11" style="width: 30%; height: 30%">
  60.        <img alt="Failed to load Quick Nav #9" src=""
  61.           style="position: relative; top: 0px; left: 0px; height: 90%; width: 90%;cursor: pointer" id="nav9" /></td>
  62.         </tr>
  63.   </table>
  64.   <input id="TestTableSize" type="submit" value="Test table size (Developer only)" onclick="GetSize()" />
  65.   </body>
Add Comment
Please, Sign In to add comment