1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Cell borders are set by a column</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution">
7 <meta name="flags" content="">
8 <meta name="assert" content="Borders on every edge (top, right, bottom, left) of a cell can be set by the column's border properties, which can vary in width, style and color.">
9 <style type="text/css">
10 table
11 {
12 border-collapse: collapse;
13 }
14 col
15 {
16 border-bottom: 8px dashed orange;
17 border-left: 16px double purple;
18 border-right: 12px dotted yellow;
19 border-top: 4px solid blue;
20 }
21 td
22 {
23 width: 6em;
24 height: 6em;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is an outline of a box with each edge looking different from the other edges.</p>
30 <table>
31 <col>
32 <tr>
33 <td></td>
34 </tr>
35 </table>
36 </body>
37 </html>