1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html lang="en">
3 <head>
4 <title>CSS Test: Properties that apply to columns</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/table/columns/001.html" type="text/html">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#columns">
9 <style type="text/css">
10 table { border-collapse: collapse; color: green; }
11 col { width: 10em; background: lime; border: 0.5em solid blue; color: red; }
12 .container { margin: 1em; }
13 .a { visibility: collapse; }
14 .fail { background: red; color: yellow; font-weight: bold }
15 </style>
16 </head>
17 <body>
18 <p>There should be two identical blue-bordered lime-green boxes touching below, but no red.</p>
19 <div class="container">
20 <table>
21 <col class=""> <col class="a"> <col class="">
22 <tr>
23 <td>BOX</td>
24 <td class="fail"> FAIL </td>
25 <td>BOX</td>
26 </tr>
27 </table>
28 </div>
29 </body>
30 </html>