backgr_position-table-row.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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'</title>
  5. <link rel="next" href="backgr_position-table-column.html" title="Background Position: Background on 'table-column'">
  6. <link rel="prev" href="backgr_position-table-column-group.html" title="Background Position: Background on 'table-column-group'">
  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. .th-row-1 {background: black url(edge.gif) bottom right no-repeat;}
  11. .tb-row-1 {background: black url(edge.gif) bottom left no-repeat;}
  12. .tb-row-2 {background: black url(edge.gif) top left no-repeat;}
  13. </style>
  14. </head>
  15. <body>
  16. <h1>CSS2 Table Backgrounds Test Suite</h1>
  17. <h2>Part B: Background Position</h2>
  18. <h3>Background on 'table-row'</h3>
  19. <p>Three rows are styled.</p>
  20. <p>The first row should have three aqua stripes just inside the
  21. bottom and right border edges of its last cell. The bottom three
  22. stripes should continue across the row, appearing along the border
  23. edge of each cell.</p>
  24. <p>The second row should have three vertical aqua stripes just
  25. inside the left border edge of the top half of the first cell (Cell
  26. E.) Three horizontal aqua stripes should cut across that cell and
  27. align along the bottom border edge of the last three cells.</p>
  28. <p>The third row should have three horizontal aqua stripes along the
  29. top border edge of the last three cells in the row.</p>
  30. <dl>
  31. <dt>next
  32. <dd><a href="backgr_position-table-column.html">Background Position: Background on 'table-column'</a>
  33. <dt>previous
  34. <dd><a href="backgr_position-table-column-group.html">Background Position: Background on 'table-column-group'</a>
  35. <dt>contents
  36. <dd><a href="./backgr_index.html">Table of Contents</a>
  37. </dl>
  38. <table class="separate">
  39. <caption>With 'border-collapse: separate'</caption>
  40. <colgroup class="colgroup-A">
  41. <col class="col-1">
  42. <col class="col-2">
  43. <col class="col-3">
  44. </colgroup>
  45. <colgroup class="colgroup-B">
  46. <col class="col-4">
  47. </colgroup>
  48. <thead>
  49. <tr class="th-row-1">
  50. <th class="a">TH A</th>
  51. <th class="b">TH B</th>
  52. <th class="c">TH C</th>
  53. <th class="d">TH D</th>
  54. </tr>
  55. </thead>
  56. <tfoot>
  57. <tr class="tf-row-1">
  58. <td class="m" colspan=2>TD M</td>
  59. <td class="o">TD O</td>
  60. <td class="p">TD P</td>
  61. </tfoot>
  62. <tbody>
  63. <tr class="tb-row-1">
  64. <td class="e" rowspan=2>TD E</td>
  65. <td class="f">TD F</td>
  66. <td class="g">TD G</td>
  67. <td class="h">TD H</td>
  68. </tr>
  69. <tr class="tb-row-2">
  70. <td class="j">TD J</td>
  71. <td class="k">TD K</td>
  72. <td class="l">TD L</td>
  73. </tr>
  74. </tbody>
  75. </table>
  76. <table class="collapse">
  77. <caption>With 'border-collapse: collapse'</caption>
  78. <colgroup class="colgroup-A">
  79. <col class="col-1">
  80. <col class="col-2">
  81. <col class="col-3">
  82. </colgroup>
  83. <colgroup class="colgroup-B">
  84. <col class="col-4">
  85. </colgroup>
  86. <thead>
  87. <tr class="th-row-1">
  88. <th class="a">TH A</th>
  89. <th class="b">TH B</th>
  90. <th class="c">TH C</th>
  91. <th class="d">TH D</th>
  92. </tr>
  93. </thead>
  94. <tfoot>
  95. <tr class="tf-row-1">
  96. <td class="m" colspan=2>TD M</td>
  97. <td class="o">TD O</td>
  98. <td class="p">TD P</td>
  99. </tfoot>
  100. <tbody>
  101. <tr class="tb-row-1">
  102. <td class="e" rowspan=2>TD E</td>
  103. <td class="f">TD F</td>
  104. <td class="g">TD G</td>
  105. <td class="h">TD H</td>
  106. </tr>
  107. <tr class="tb-row-2">
  108. <td class="j">TD J</td>
  109. <td class="k">TD K</td>
  110. <td class="l">TD L</td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. <div class="validity">
  115. <a href="http://validator.w3.org/check/referer"><img
  116. src="valid-html401.png" height="31" width="88"
  117. alt="Valid HTML 4.01!"></a>
  118. </div>
  119. <address>
  120. CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
  121. </address>
  122. </body>
  123. </html>