floats-019-ref.xht (673B)
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 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 9 10 <style type="text/css"><![CDATA[ 11 body {margin: 1.1in 0px 0px;} 12 13 div 14 { 15 background-color: blue; 16 height: 1in; 17 left: 0px; 18 position: absolute; 19 top: 0px; 20 width: 1in; 21 } 22 23 p {margin: 0px;} 24 ]]></style> 25 26 </head> 27 28 <body> 29 30 <div></div> 31 32 <p>Test passes if the blue square above is in the top-left corner of the page.</p> 33 34 </body> 35 </html>