OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS 2.1 Test Suite: float</title> | 4 <title>CSS 2.1 Test Suite: float</title> |
| 5 <script src="../resources/ahem.js"></script> |
5 <style type="text/css"> | 6 <style type="text/css"> |
6 div { border: solid black; font: 15px/1 Ahem; width: 6em; margin: 1em; color:
green; } | 7 div { border: solid black; font: 15px/1 Ahem; width: 6em; margin: 1em; color:
green; } |
7 span { float: left; font-size: 200%; width: 1.5em; } | 8 span { float: left; font-size: 200%; width: 1.5em; } |
8 .a { background: red url(support/css1test5525ce-1.png) no-repeat; } | 9 .a { background: red url(support/css1test5525ce-1.png) no-repeat; } |
9 .b { background: red url(support/css1test5525ce-2.png) no-repeat; } | 10 .b { background: red url(support/css1test5525ce-2.png) no-repeat; } |
10 .b span { background-color: green; } | 11 .b span { background-color: green; } |
11 </style> | 12 </style> |
12 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="
9.5 Floats"> | 13 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="
9.5 Floats"> |
13 </head> | 14 </head> |
14 <body> | 15 <body> |
15 <p> There should be two boxes of green below. </p> | 16 <p> There should be two boxes of green below. </p> |
16 <div class="a"> | 17 <div class="a"> |
17 <span>X</span> x x xx x x | 18 <span>X</span> x x xx x x |
18 </div> | 19 </div> |
19 <div class="b"> | 20 <div class="b"> |
20 <span>X</span> x x xx x x | 21 <span>X</span> x x xx x x |
21 </div> | 22 </div> |
22 </body> | 23 </body> |
23 </html> | 24 </html> |
OLD | NEW |