c547-indent-000.xht (1701B)
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: text-indent</title> 5 <meta name="flags" content="ahem" /> 6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#text-indent"/> 7 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property"/> 8 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 9 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 10 <link rel="match" href="c547-indent-000-ref.xht"/> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div { font: 24px/1 Ahem; width: 18em; color: blue; } 14 .one {text-indent: 0.25in;} 15 .two {text-indent: 0.635cm;} 16 .three {text-indent: 6.35mm;} 17 .four {text-indent: 18pt;} 18 .five {text-indent: 1.5pc;} 19 .six {text-indent: 1em;} 20 .seven {text-indent: 1.25ex;} 21 .eight {text-indent: 24px;} 22 ]]></style> 23 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop" title="16.1 Indentation: the 'text-indent' property"/> 24 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths"/> 25 </head> 26 <body> 27 <p>There should be a tall solid unbroken column of blue below.</p> 28 <div class="test"> x</div> 29 <div class="one"> x </div> 30 <div class="two"> x </div> 31 <div class="three"> x </div> 32 <div class="four"> x </div> 33 <div class="five"> x </div> 34 <div class="six"> x </div> 35 <div class="seven"> x </div> 36 <div class="eight"> x </div> 37 <div class="test"> x</div> 38 </body> 39 </html>