numbers-units-018-ref.xht (793B)
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>CSS Reftest Reference</title> 5 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/> 6 <style type="text/css"> 7 html { 8 border: 1px solid; 9 margin-left: 400px; 10 margin-top: 320px; 11 } 12 p { 13 font: 16px serif; 14 } 15 div { 16 position: absolute; 17 } 18 #div1 { 19 background: orange; 20 height: 20px; 21 left: 0; 22 top: 320px; 23 width: 400px; 24 } 25 #div2 { 26 background: blue; 27 height: 320px; 28 left: 400px; 29 top: 0; 30 width: 20px; 31 } 32 </style> 33 </head> 34 <body> 35 <p>Test passes if the black box containing this text is to the right of the orange box and below the blue box.</p> 36 <div id="div1"></div> 37 <div id="div2"></div> 38 </body> 39 </html>