c547-indent-001-ref.xht (1270B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Reftest Reference</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 p.eight:before 13 { 14 color: aqua; 15 content: "generated content before"; 16 display: inline-block; 17 width: 50%; 18 } 19 20 p.eight {background-color: aqua;} 21 22 p.one-first 23 { 24 background-color: aqua; 25 margin-bottom: 0em; 26 padding-left: 5em; 27 } 28 29 p.one 30 { 31 background-color: aqua; 32 margin-top: 0em; 33 } 34 35 div 36 { 37 background-color: aqua; 38 width: 25%; 39 } 40 ]]> 41 </style> 42 43 </head> 44 45 <body> 46 47 <p class="eight">The first line of this sentence should be indented halfway across the page, but the rest of it should be flush with the normal left margin of the page.</p> 48 49 <p class="one-first">Only the first line of this sentence</p> 50 51 <p class="one">should be indented,<br /> 52 the others should all be<br /> 53 <em>aligned on the left</em> of the window.</p> 54 55 <div><span style="padding-left:50%">X The first X in this sentence should be indented to the center of this block.</span></div> 56 57 </body> 58 </html>