c61-rel-len-000.xht (1273B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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 <link rel="match" href="c61-rel-len-000-ref.xht" /> 10 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 .container { font: 15px/1 Ahem; background: url(support/swatch-red.png) 45px 0 repeat-y; color: green; } 14 .zero {margin-left: 0;} 15 .one {margin-left: 3em;} 16 .two {margin-left: 3.75ex;} 17 .three {margin-left: 45px;} 18 ]]></style> 19 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths"/> 20 </head> 21 <body> 22 <p> There should be a solid vertical bar of green below. </p> 23 <div class="container"> 24 <div class="zero">    X </div> 25 <div class="one"> X </div> 26 <div class="two"> X </div> 27 <div class="three"> X </div> 28 </div> 29 </body> 30 </html>