multicol-nested-margin-002-ref.xht (1093B)
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="Opera Software ASA" href="http://www.opera.com/" /> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-08-14 --> 7 <style type="text/css"><![CDATA[ 8 body {margin: 0em;} 9 10 div 11 { 12 background-color: yellow; 13 font: 1.25em/1 serif; 14 height: 5em; 15 position: relative; 16 width: 41em; 17 } 18 19 div > div 20 { 21 background-color: blue; 22 font: inherit; 23 height: 3em; 24 position: absolute; 25 top: 0em; 26 width: 2em 27 } 28 29 div#first-blue 30 { 31 background-color: blue; 32 left: 29em; 33 } 34 35 div#second-blue 36 { 37 background-color: blue; 38 left: 33em; 39 } 40 41 div#third-blue 42 { 43 background-color: blue; 44 height: 2em; 45 left: 37em; 46 } 47 ]]></style> 48 </head> 49 <body> 50 51 <div> 52 <div id="first-blue"></div> 53 <div id="second-blue"></div> 54 <div id="third-blue"></div> 55 </div> 56 57 </body> 58 </html>