backgr_border-table-row-group.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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>Background on 'table-row-group'</title>
  5. <link rel="next" href="backgr_border-table-column-group.html" title="Background with Borders: Background on 'table-column-group'">
  6. <link rel="prev" href="backgr_border-table.html" title="Background with Borders: Background on 'table'">
  7. <link rel="contents" href="./backgr_index.html" title="Table of Contents">
  8. <link rel="stylesheet" type="text/css" href="common.css">
  9. <style type="text/css">
  10. table { border: 3px dotted}
  11. thead {background: black url(edge.gif) top right no-repeat; border: 5px dashed}
  12. .d { border: 5px dashed}
  13. tbody {background: black url(edge.gif) bottom left no-repeat; border: 5px dashed}
  14. .k { border: 5px dashed}
  15. </style>
  16. </head>
  17. <body>
  18. <h1>CSS2 Table Backgrounds Test Suite</h1>
  19. <h2>Part D: Background with Borders</h2>
  20. <h3>Background on 'table-row-group'</h3>
  21. <p>There should be three aqua stripes along the top of cells A, B, C, and D in the first row and three stripes along the right edge of D, the last cell in that row. The stripes should align to be just inside the padding edge of cell D.</p>
  22. <p>There should be three aqua stripes along the bottom of cells J, K, and L. The stripes continue across the bottom of cell E, but are partially obscured by the border. The stripes turn up at cell E's bottom left corner to run under its border a few pixels to the right of its left border edge. The stripes will align to be just above cell K's bottom padding edge.</p>
  23. <dl>
  24. <dt>next
  25. <dd><a href="backgr_border-table-column-group.html">Background with Borders: Background on 'table-column-group'</a>
  26. <dt>previous
  27. <dd><a href="backgr_border-table.html">Background with Borders: Background on 'table'</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 C</th>
  46. <th class="d">TH D</th>
  47. </tr>
  48. </thead>
  49. <tfoot>
  50. <tr class="tf-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 C</th>
  84. <th class="d">TH D</th>
  85. </tr>
  86. </thead>
  87. <tfoot>
  88. <tr class="tf-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>