text-indent-applies-to-002-ref.xht (1004B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>test reference</title> 5 <meta name="flags" content="ahem" /> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style type="text/css"> 8 div 9 { 10 font: 16px/1em Ahem; 11 } 12 span 13 { 14 display: block; 15 margin-left: 10em; 16 } 17 #div1 18 { 19 background: blue; 20 height: 1em; 21 margin-left: 10em; 22 width: 5em; 23 } 24 </style> 25 </head> 26 <body> 27 <p>Test passes if the black box below is directly above the blue box. (Note that the two boxes do not need to be touching.)</p> 28 <div> 29 <span>XXXXX</span> 30 </div> 31 <div id="div1"></div> 32 </body> 33 </html>