c5505-mrgn-001-ref.xht (1194B)
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 p 13 { 14 color: navy; 15 margin: 0em; 16 } 17 18 div.control 19 { 20 border: black solid medium; 21 margin: 1.25em; 22 width: 12.5em; 23 } 24 25 div.orange 26 { 27 background-color: yellow; 28 border: orange solid 1.25em; 29 } 30 31 div.teal 32 { 33 background-color: teal; 34 height: 1.25em; 35 width: 1.25em; 36 } 37 38 div.aqua 39 { 40 background-color: aqua; 41 border: yellow solid 1.25em; 42 } 43 ]]> 44 </style> 45 46 </head> 47 48 <body> 49 50 <p>The following two diagrams should look identical.</p> 51 52 <div class="control"> 53 <div class="orange"> 54 <div class="teal"></div> 55 <div class="aqua"><div class="teal"></div></div> 56 <div class="teal"></div> 57 </div> 58 </div> 59 60 <div class="control"> 61 <div class="orange"> 62 <div class="teal"></div> 63 <div class="aqua"><div class="teal"></div></div> 64 <div class="teal"></div> 65 </div> 66 </div> 67 68 </body> 69 </html>