tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

c547-indent-001.xht (1430B)


      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   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#text-indent"/>
      6   <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property"/>
      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="c547-indent-001-ref.xht" />
     10 
     11   <style type="text/css"><![CDATA[
     12    .one {text-indent: 5em; background: aqua;}
     13    .eight {text-indent: 50%; background: aqua;}
     14    div {text-indent: 50%; background: aqua;width: 25%;}
     15   ]]></style>
     16   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop" title="16.1 Indentation: the 'text-indent' property"/>
     17  </head>
     18  <body>
     19   <p class="eight">
     20    The first line of this sentence should be indented halfway across the
     21    page, but the rest of it should be flush with the normal left margin
     22    of the page.
     23   </p>
     24   <p class="one">
     25    Only the first line of this sentence<br />
     26    should be indented,<br />
     27    the others should all be<br />
     28    <em>aligned on the left</em> of the window.
     29   </p>
     30   <div>
     31    X The first X in this sentence should be indented to the center of this block.
     32   </div>
     33  </body>
     34 </html>