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