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: border</title>
5 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border">
6 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
7 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
8 <style type="text/css">
9 body { color: blue; }
10 td {border: 2px solid blue;}
11 table { border-collapse: separate; border-spacing: 6px; }
12 </style>
13 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties">
14 </head>
15 <body>
16 <table>
17 <tr>
18 <td colspan="2">
19 There should be a blue border around this sentence.
20 </td>
21 </tr>
22 <tr>
23 <td>
24 There should be a blue border around this sentence.
25 </td>
26 <td>
27 <table>
28 <tr>
29 <td>
30 There should be <strong><em>two</em> blue borders</strong> around this sentence.
31 </td>
32 </tr>
33 </table>
34 </td>
35 </tr>
36 </table>
37 </body>
38 </html>