1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
4 <title>Background on 'table-column'
</title>
5 <link rel=
"next" href=
"backgr_position-table-cell.html" title=
"Background Position: Background on 'table-cell'">
6 <link rel=
"prev" href=
"backgr_position-table-row.html" title=
"Background Position: Background on 'table-row'">
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">
11 .col-1 {background: black url
(../images/edge.gif) bottom right no-repeat
}
12 .col-2 {background: black url
(../images/edge.gif) bottom right no-repeat
}
13 .col-3 {background: black url
(../images/edge.gif) top left
}
18 <h1>CSS2 Table Backgrounds Test Suite
</h1>
20 <h2>Part B: Background Position
</h2>
22 <h3>Background on 'table-column'
</h3>
24 <p>Three columns are styled.
</p>
25 <p>In the first column, there should be three vertical stripes just inside the right border edge of the first three cells. The stripes should continue in the last cell, turning a right angle to the left into three aqua stripes along the bottom border edge of the last cell. The last cell should not have three vertical stripes along its right border edge.
</p>
26 <p>In the second column, there should be three vertical stripes just inside the right border edge of the first three cells.
</p>
27 <p>In the third column, there should be three vertical stripes just inside the top border edge of the first cell and just inside the left edge of all four cells.
</p>
31 <dd><a href=
"backgr_position-table-cell.html">Background Position: Background on 'table-cell'
</a>
33 <dd><a href=
"backgr_position-table-row.html">Background Position: Background on 'table-row'
</a>
35 <dd><a href=
"./backgr_index.html">Table of Contents
</a>
38 <table class=
"separate">
39 <caption>With 'border-collapse: separate'
</caption>
40 <colgroup class=
"colgroup-A">
45 <colgroup class=
"colgroup-B">
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>
58 <td class=
"m" colspan=
2>TD M
</td>
60 <td class=
"o">TD O
</td>
61 <td class=
"p">TD P
</td>
65 <td class=
"e" rowspan=
2>TD E
</td>
66 <td class=
"f">TD F
</td>
67 <td class=
"g">TD G
</td>
68 <td class=
"h">TD H
</td>
72 <td class=
"j">TD J
</td>
73 <td class=
"k">TD K
</td>
74 <td class=
"l">TD L
</td>
79 <table class=
"collapse">
80 <caption>With 'border-collapse: collapse'
</caption>
81 <colgroup class=
"colgroup-A">
86 <colgroup class=
"colgroup-B">
91 <th class=
"a">TH A
</th>
92 <th class=
"b">TH B
</th>
93 <th class=
"c">TH C
</th>
94 <th class=
"d">TH D
</th>
99 <td class=
"m" colspan=
2>TD M
</td>
101 <td class=
"o">TD O
</td>
102 <td class=
"p">TD P
</td>
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>
111 <tr class=
"tb-row-2">
113 <td class=
"j">TD J
</td>
114 <td class=
"k">TD K
</td>
115 <td class=
"l">TD L
</td>
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>
125 CSS2 Table Backgrounds Test Suite designed and written by fantasai
<fantasai
@escape.com
>