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: Bottom table border width under collapsing borders model</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#collapsing-borders">
7 <meta name="flags" content="">
8 <meta name="assert" content="The bottom border width of the table is half of the maximum collapsed bottom border width.">
9 <style type="text/css">
10 table
11 {
12 background: orange;
13 border-collapse: collapse;
14 }
15 tr
16 {
17 height: 1in;
18 }
19 td
20 {
21 border-bottom: 1in solid orange;
22 padding: 0;
23 width: 50px;
24 }
25 #div1
26 {
27 background: blue;
28 height: 1.5in;
29 width: 100px;
30 }
31 </style>
32 </head>
33 <body>
34 <p>Test passes if the orange and blue boxes below are the same height.</p>
35 <div id="div1">
36 <table>
37 <tr>
38 <td></td>
39 </tr>
40 </table>
41 </div>
42 </body>
43 </html>