<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Opera Software ASA" href="http://www.opera.com/" /> <link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-08-10 --> <meta name="flags" content="" /> <style type="text/css"><![CDATA[ body > div { background-color: blue; border: gray solid 1em; font-size: 1.25em; height: 8em; position: relative; width: 10em; } div > div { background-color: yellow; height: 1em; left: 0; position: absolute; top: 3em; width: 5em; } #second-stripe {top: 5em;} #third-stripe {top: 7em;} ]]></style> </head> <body> <div> <div></div> <div id="second-stripe"></div> <div id="third-stripe"></div> </div> </body> </html>