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: Length Units</title>
5 <meta name="flags" content="ahem image">
6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#length-units">
7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
8 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
9 <style type="text/css">
10 .container { font: 15px/1 Ahem; background: url(support/swatch-red.png) 45px 0 repeat-y; color: green; }
11 .zero {margin-left: 0;}
12 .one {margin-left: 3em;}
13 .two {margin-left: 3.75ex;}
14 .three {margin-left: 45px;}
15 </style>
16 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths">
17 </head>
18 <body>
19 <p> There should be a solid vertical bar of green below. </p>
20 <div class="container">
21 <div class="zero"> X </div>
22 <div class="one"> X </div>
23 <div class="two"> X </div>
24 <div class="three"> X </div>
25 </div>
26 </body>
27 </html>