PayneLess_Designs

PayneLess Designs - Table Example #005

Sep 1st, 2010
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.12 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en"><head>
  3. <meta charset="utf-8">
  4. <title>Table Example #005</title>
  5. <meta name="created" content="Wed, 01 Sep 2010 02:10:08 GMT">
  6. <meta name="description" content="">
  7. <meta name="keywords" content="">
  8. <meta name="copyright" content="PayneLess Designs">
  9. <meta name="author" content="Ron">
  10.  
  11. <style>
  12. div#table_wrap {
  13. width: 900px;
  14. height: 622px;
  15. margin: 0 auto;
  16. /* background: url(images/table.jpg) no-repeat center scroll; */
  17. }
  18.  
  19. table#top {
  20. width: 100%;
  21. height: 280px;
  22. border-collapse: collapse;
  23. background: #a5fffb;
  24. }
  25.  
  26. table#top td#top_left {
  27. width: 50%;
  28. }
  29.  
  30. table#top td#top_right {
  31. width: 50%;
  32. }
  33.  
  34. table#top #top_left , table#top #top_right {
  35. height: 88px;
  36. border: 0 solid #f00; /* Used for layout only */
  37. }
  38.  
  39. table#top td#second_row {
  40. width: 100%;
  41. height: 48px;
  42. border: 0 solid #f00; /* Used for layout only */
  43. border-top: 1px solid #c0c0c0; /* Used for layout only */
  44. }
  45.  
  46. table#top td#third_row_left {
  47. width: 50%;
  48. }
  49.  
  50. table#top td#third_row_right {
  51. width: 50%;
  52. }
  53.  
  54. table#top td#third_row_left, table#top td#third_row_right {
  55. height: 145px;
  56. border: 0 solid #f00; /* Used for layout only */
  57. background: #f6ff98;
  58. }
  59. /* ======================================================== */
  60. table#second {
  61. width: 100%;
  62. height: 292px;
  63. border-collapse: collapse;
  64. }
  65.  
  66. table#second td#fourth_row_left {
  67. width: 140px;
  68. background: #8b8a00;
  69. }
  70.  
  71. table#second td#fourth_row_middle {
  72. width: 530px;
  73. background: #908a9b;
  74. }
  75.  
  76. table#second td#fourth_row_right {
  77. width: 228px;
  78. background: #8a4413;
  79. }
  80.  
  81. table#second td#fourth_row_left, table#second td#fourth_row_middle, table#second td#fourth_row_right {
  82. height: 290px;
  83. border: 0 solid #f00; /* Used for layout only */
  84. }
  85. /* ======================================================== */
  86. table#third {
  87. width: 100%;
  88. height: 48px;
  89. border-collapse: collapse;
  90. }
  91.  
  92. table#third td#fifth_row_left {
  93. width: 140px;
  94. background: #23009f;
  95. }
  96.  
  97. table#third td#fifth_row_middle {
  98. width: 530px;
  99. background: #8f00a0;
  100. }
  101.  
  102. table#third td#fifth_row_right {
  103. width: 228px;
  104. background: #8a4413;
  105. }
  106.  
  107. table#third td#fifth_row_left, table#third td#fifth_row_middle, table#third td#fifth_row_right {
  108. height: 48px;
  109. border: 0 solid #f00; /* Used for layout only */
  110. }
  111. </style>
  112.  
  113. <!--[if IE]>
  114. <link rel="stylesheet" type="text/css" href="css_styles_ie.css">
  115.  
  116. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  117. <![endif]-->
  118. </head>
  119. <body>
  120. <div id="table_wrap">
  121.  
  122. <table id="top">
  123. <tr>
  124. <td id="top_left">top row, left</td><td id="top_right">top row, right</td>
  125. </tr>
  126.  
  127. <tr>
  128. <td id="second_row" colspan="2">second row</td>
  129. </tr>
  130.  
  131. <tr>
  132. <td id="third_row_left">third row, left</td><td id="third_row_right">third row, right</td>
  133. </tr>
  134. </table>
  135.  
  136. <table id="second">
  137. <tr>
  138. <td id="fourth_row_left">fourth row, left</td><td id="fourth_row_middle">fourth row, middle</td><td id="fourth_row_right">fourth row, right</td>
  139. </tr>
  140. </table>
  141.  
  142. <table id="third">
  143. <tr>
  144. <td id="fifth_row_left">fifth row, left</td><td id="fifth_row_middle">fifth row, middle</td><td id="fifth_row_right">fifth row, right</td>
  145. </tr>
  146. </table>
  147. </div>
  148.  
  149. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment