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-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">
11 .th-row-1 {background: black url
(../images/edge.gif) bottom right no-repeat
;}
12 .tb-row-1 {background: black url
(../images/edge.gif) bottom left no-repeat
;}
13 .tb-row-2 {background: black url
(../images/edge.gif) top left no-repeat
;}
18 <h1>CSS2 Table Backgrounds Test Suite
</h1>
20 <h2>Part B: Background Position
</h2>
22 <h3>Background on 'table-row'
</h3>
24 <p>Three rows are styled.
</p>
25 <p>The first row should have three aqua stripes just inside the
26 bottom and right border edges of its last cell. The bottom three
27 stripes should continue across the row, appearing along the border
28 edge of each cell.
</p>
29 <p>The second row should have three vertical aqua stripes just
30 inside the left border edge of the top half of the first cell (Cell
31 E.) Three horizontal aqua stripes should cut across that cell and
32 align along the bottom border edge of the last three cells.
</p>
33 <p>The third row should have three horizontal aqua stripes along the
34 top border edge of the last three cells in the row.
</p>
37 <dd><a href=
"backgr_position-table-column.html">Background Position: Background on 'table-column'
</a>
39 <dd><a href=
"backgr_position-table-column-group.html">Background Position: Background on 'table-column-group'
</a>
41 <dd><a href=
"./backgr_index.html">Table of Contents
</a>
44 <table class=
"separate">
45 <caption>With 'border-collapse: separate'
</caption>
46 <colgroup class=
"colgroup-A">
51 <colgroup class=
"colgroup-B">
56 <th class=
"a">TH A
</th>
57 <th class=
"b">TH B
</th>
58 <th class=
"c">TH C
</th>
59 <th class=
"d">TH D
</th>
64 <td class=
"m" colspan=
2>TD M
</td>
66 <td class=
"o">TD O
</td>
67 <td class=
"p">TD P
</td>
71 <td class=
"e" rowspan=
2>TD E
</td>
72 <td class=
"f">TD F
</td>
73 <td class=
"g">TD G
</td>
74 <td class=
"h">TD H
</td>
78 <td class=
"j">TD J
</td>
79 <td class=
"k">TD K
</td>
80 <td class=
"l">TD L
</td>
85 <table class=
"collapse">
86 <caption>With 'border-collapse: collapse'
</caption>
87 <colgroup class=
"colgroup-A">
92 <colgroup class=
"colgroup-B">
97 <th class=
"a">TH A
</th>
98 <th class=
"b">TH B
</th>
99 <th class=
"c">TH C
</th>
100 <th class=
"d">TH D
</th>
104 <tr class=
"tf-row-1">
105 <td class=
"m" colspan=
2>TD M
</td>
107 <td class=
"o">TD O
</td>
108 <td class=
"p">TD P
</td>
111 <tr class=
"tb-row-1">
112 <td class=
"e" rowspan=
2>TD E
</td>
113 <td class=
"f">TD F
</td>
114 <td class=
"g">TD G
</td>
115 <td class=
"h">TD H
</td>
117 <tr class=
"tb-row-2">
119 <td class=
"j">TD J
</td>
120 <td class=
"k">TD K
</td>
121 <td class=
"l">TD L
</td>
125 <div class=
"validity">
126 <a href=
"http://validator.w3.org/check/referer"><img
127 src=
"../images/valid-html401.png" height=
"31" width=
"88"
128 alt=
"Valid HTML 4.01!"></a>
131 CSS2 Table Backgrounds Test Suite designed and written by fantasai
<fantasai
@escape.com
>