backgr_layers-hide.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  4. <title>empty-cells: hide</title>
  5. <link rel="next" href="backgr_border-table.html" title="Background with Borders: Background on 'table'">
  6. <link rel="prev" href="backgr_layers-show.html" title="Background Layers: empty-cell: show">
  7. <link rel="contents" href="./backgr_indxe.html" title="Table of Contents">
  8. <link rel="stylesheet" type="text/css" href="common.css">
  9. <style type="text/css">
  10. table {background: blue; empty-cells: hide}
  11. tbody, thead {background: url(edge.gif) right top no-repeat}
  12. tr {background: url(edge.gif) 0 10px no-repeat}
  13. .colgroup-A {background: url(edge.gif) 100% 20px no-repeat}
  14. .col-3 {background: url(edge.gif) 0 30px no-repeat}
  15. .c {background: url(edge.gif) -20px 100% no-repeat; min-height: 50px}
  16. </style>
  17. </head>
  18. <body>
  19. <h1>CSS2 Table Backgrounds Test Suite</h1>
  20. <h2>Part C: Background Layers</h2>
  21. <h3>empty-cells: hide</h3>
  22. <p>Both tables should look identical to the ones in <a href="backgr_layers-show.html">empty-cells: show</a> except that there should be a blue blank where table cell C should be.
  23. <dl>
  24. <dt>next
  25. <dd><a href="backgr_border-table.html">Background with Borders: Background on 'table'</a>
  26. <dt>previous
  27. <dd><a href="backgr_layers-show.html">Background Layers: empty-cells: show</a>
  28. <dt>contents
  29. <dd><a href="./backgr_index.html">Table of Contents</a>
  30. </dl>
  31. <table class="separate">
  32. <caption>With 'border-collapse: separate'</caption>
  33. <colgroup class="colgroup-A">
  34. <col class="col-1">
  35. <col class="col-2">
  36. <col class="col-3">
  37. </colgroup>
  38. <colgroup class="colgroup-B">
  39. <col class="col-4">
  40. </colgroup>
  41. <thead>
  42. <tr class="th-row-1">
  43. <th class="a">TH A</th>
  44. <th class="b">TH B</th>
  45. <th class="c"></th>
  46. <th class="d">TH D</th>
  47. </tr>
  48. </thead>
  49. <tfoot>
  50. <tr class="tb-row-1">
  51. <td class="m" colspan=2>TD M</td>
  52. <td class="o">TD O</td>
  53. <td class="p">TD P</td>
  54. </tfoot>
  55. <tbody>
  56. <tr class="tb-row-1">
  57. <td class="e" rowspan=2>TD E</td>
  58. <td class="f">TD F</td>
  59. <td class="g">TD G</td>
  60. <td class="h">TD H</td>
  61. </tr>
  62. <tr class="tb-row-2">
  63. <td class="j">TD J</td>
  64. <td class="k">TD K</td>
  65. <td class="l">TD L</td>
  66. </tr>
  67. </tbody>
  68. </table>
  69. <table class="collapse">
  70. <caption>With 'border-collapse: collapse'</caption>
  71. <colgroup class="colgroup-A">
  72. <col class="col-1">
  73. <col class="col-2">
  74. <col class="col-3">
  75. </colgroup>
  76. <colgroup class="colgroup-B">
  77. <col class="col-4">
  78. </colgroup>
  79. <thead>
  80. <tr class="th-row-1">
  81. <th class="a">TH A</th>
  82. <th class="b">TH B</th>
  83. <th class="c"></th>
  84. <th class="d">TH D</th>
  85. </tr>
  86. </thead>
  87. <tfoot>
  88. <tr class="tb-row-1">
  89. <td class="m" colspan=2>TD M</td>
  90. <td class="o">TD O</td>
  91. <td class="p">TD P</td>
  92. </tfoot>
  93. <tbody>
  94. <tr class="tb-row-1">
  95. <td class="e" rowspan=2>TD E</td>
  96. <td class="f">TD F</td>
  97. <td class="g">TD G</td>
  98. <td class="h">TD H</td>
  99. </tr>
  100. <tr class="tb-row-2">
  101. <td class="j">TD J</td>
  102. <td class="k">TD K</td>
  103. <td class="l">TD L</td>
  104. </tr>
  105. </tbody>
  106. </table>
  107. <div class="validity">
  108. <a href="http://validator.w3.org/check/referer"><img
  109. src="valid-html401.png" height="31" width="88"
  110. alt="Valid HTML 4.01!"></a>
  111. </div>
  112. <address>
  113. CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
  114. </address>
  115. </body>
  116. </html>