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: Column border property</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#columns">
7 <meta name="flags" content="">
8 <meta name="assert" content="A border can be set on a table column.">
9 <style type="text/css">
10 .table
11 {
12 background: black;
13 border-collapse: collapse;
14 display: table;
15 }
16 .column
17 {
18 border: 5px dotted green;
19 display: table-column;
20 }
21 .tr
22 {
23 display: table-row;
24 }
25 .td
26 {
27 display: table-cell;
28 height: 0.25in;
29 width: 0.5in;
30 }
31 </style>
32 </head>
33 <body>
34 <p>Test passes if the left half of the black box below has green dotted border.</p>
35 <div class="table">
36 <div class="column"></div>
37 <div class="tr">
38 <div class="td"></div>
39 <div class="td"></div>
40 </div>
41 <div class="tr">
42 <div class="td"></div>
43 <div class="td"></div>
44 </div>
45 <div class="tr">
46 <div class="td"></div>
47 <div class="td"></div>
48 </div>
49 <div class="tr">
50 <div class="td"></div>
51 <div class="td"></div>
52 </div>
53 </div>
54 </body>
55 </html>