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