margin-top-applies-to-001-ref.xht (650B)
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 13 { 14 background-color: blue; 15 height: 10px; 16 } 17 18 div + div 19 { 20 background-color: orange; 21 width: 200px; 22 } 23 ]]></style> 24 25 </head> 26 27 <body> 28 29 <p>Test passes if there is <strong>no space between</strong> the blue and orange lines.</p> 30 31 <div></div> 32 33 <div></div> 34 35 </body> 36 </html>