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: Length Units</title> | 4 <title>CSS 2.1 Test Suite: Length Units</title> |
| 5 <script src="../resources/ahem.js"></script> |
5 <style type="text/css"> | 6 <style type="text/css"> |
6 .container { font: 15px/1 Ahem; background: url(support/swatch-red.png) 45px
0 repeat-y; color: green; } | 7 .container { font: 15px/1 Ahem; background: url(support/swatch-red.png) 45px
0 repeat-y; color: green; } |
7 .zero {margin-left: 0;} | 8 .zero {margin-left: 0;} |
8 .one {margin-left: 3em;} | 9 .one {margin-left: 3em;} |
9 .two {margin-left: 3.75ex;} | 10 .two {margin-left: 3.75ex;} |
10 .three {margin-left: 45px;} | 11 .three {margin-left: 45px;} |
11 </style> | 12 </style> |
12 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" t
itle="4.3.2 Lengths"> | 13 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" t
itle="4.3.2 Lengths"> |
13 </head> | 14 </head> |
14 <body> | 15 <body> |
15 <p> There should be a solid vertical bar of green below. </p> | 16 <p> There should be a solid vertical bar of green below. </p> |
16 <div class="container"> | 17 <div class="container"> |
17 <div class="zero"> X </div> | 18 <div class="zero"> X </div> |
18 <div class="one"> X </div> | 19 <div class="one"> X </div> |
19 <div class="two"> X </div> | 20 <div class="two"> X </div> |
20 <div class="three"> X </div> | 21 <div class="three"> X </div> |
21 </div> | 22 </div> |
22 </body> | 23 </body> |
23 </html> | 24 </html> |
OLD | NEW |