margin-009-ref.xht (722B)
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 div {border: green solid 10px;} 13 14 div#inline-block 15 { 16 left: 48px; 17 padding: 96px 24px 192px 48px; 18 position: relative; 19 top: 96px; 20 width: 308px; 21 } 22 23 div#block {padding: 48px 144px;} 24 ]]></style> 25 26 </head> 27 28 <body> 29 30 <p>Test passes if there is <strong>no red</strong>.</p> 31 32 <div id="inline-block"> 33 <div id="block"></div> 34 </div> 35 36 </body> 37 </html>