block-replaced-width-006-ref.xht (902B)
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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 border: black solid medium; 16 font: 100px/1 Ahem; 17 height: 300px; 18 text-align: center; 19 width: 200px; 20 } 21 22 span#blue {color: blue;} 23 24 span#orange {color: orange;} 25 ]]></style> 26 27 </head> 28 29 <body> 30 31 <p>Test passes if the blue and orange squares have the <strong>same width</strong> and if they are <strong>horizontally centered</strong> inside an hollow black rectangle.</p> 32 33 <div><span id="blue">1</span><br /><span id="orange">2</span></div> 34 35 </body> 36 </html>