backgr_border-table-quirks.html 3.4 KB

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