PayneLess_Designs

PayneLess Designs - Table Example - HTML 5

Feb 7th, 2012
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.02 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en"><head>
  3. <meta charset="utf-8">
  4. <title>Table Example - HTML 5</title>
  5.  
  6. <meta name="created" content="Fri, 15 Oct 2010 21:46:04 GMT">
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. <meta name="author" content="PayneLess Designs">
  10. <meta name="copyright" content="Jan 2004 to present.">
  11. <meta name="robots" content="all">
  12. <meta name="revisit-after" content="60 days">
  13.  
  14. <style>
  15. * { margin: 0; padding: 0; border: 0; }
  16.  
  17. table#main {
  18. width: 800px;
  19. height: 561px;
  20. margin: 0 auto;
  21. border-collapse: collapse;
  22. border: 2.5em solid #f00;
  23. /* background: #f0f url(jamie-recipesboxes-lrg.gif) no-repeat center scroll; */
  24. font-family: arial, 'times new roman', sans-serif;
  25. font-size: 1em;
  26. color: #000;
  27. }
  28.  
  29. table#main td#one {
  30. width: 745px;
  31. height: 73px;
  32. border-bottom: 1.2em solid #f00;
  33. background: #fff;
  34. }
  35.  
  36. table#main td#two {
  37. width: 739px;
  38. height: 400px;
  39. margin: 0 auto;
  40. border: .5em solid #fff;
  41. background: #fff;
  42. padding: 0 0 15px 0;
  43. }
  44.  
  45. table#main td#two table#table-two {
  46. width: 724px;
  47. height: 400px;
  48. margin: 0 auto;
  49. border-collapse: collapse;
  50. border: 2.7em solid #fe00fe;
  51. background: #fff;
  52. }
  53.  
  54. td#two table#table-two td#left {
  55. width: 168px;
  56. height: 400px;
  57. border-right: 1.6em solid #fe00fe;
  58. }
  59. </style>
  60.  
  61.  
  62. <!--[if IE]>
  63. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  64. <style>
  65. table#main {
  66. border: 1.5em solid #f00;
  67. font-size: 1em;
  68. color: #000;
  69. }
  70.  
  71. table#main td#one {
  72. border-bottom: .8em solid #f00;
  73. }
  74.  
  75. table#main td#two {
  76. border: .2em solid #fff;
  77. padding: 0 17px 17px 17px;
  78. }
  79.  
  80.  
  81. table#main td#two table#table-two {
  82. border: 1.5em solid #fe00fe;
  83. }
  84.  
  85. td#two table#table-two td#left {
  86. border-right: .8em solid #fe00fe;
  87. }
  88. </style>
  89. <![endif]-->
  90. </head>
  91. <body>
  92. <table id="main">
  93. <tbody>
  94. <tr><td id="one">&nbsp;</td></tr>
  95.  
  96. <tr><td id="two">&nbsp;
  97.  
  98.     <table id="table-two">
  99.     <tr><td id="left">&nbsp;</td><td>&nbsp;</td></tr>
  100.     </table>
  101.  
  102. </td></tr>
  103.  
  104. </tbody>
  105. </table>
  106. </body></html>
  107. <!-- HTML 5 Folder |  -->
Advertisement
Add Comment
Please, Sign In to add comment