floats-141-ref.xht (920B)
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 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 9 10 <style type="text/css"><![CDATA[ 11 p {color: blue;} 12 13 div#wrapper 14 { 15 border: none 0px; 16 display: inline-block; 17 margin: 0em; 18 padding: 0em; 19 } 20 21 div 22 { 23 border: solid thin; 24 margin: 0.2em; 25 padding: 0.2em; 26 } 27 28 div#A 29 { 30 color: fuchsia; 31 width: 12em; 32 } 33 34 div#B 35 { 36 color: orange; 37 display: inline-block; 38 width: 8em; 39 } 40 41 div#C 42 { 43 color: orange; 44 display: inline-block; 45 width: 4em; 46 } 47 ]]></style> 48 49 </head> 50 51 <body> 52 53 <p>C must not be above B.</p> 54 55 <div id="wrapper"> 56 <div id="A">A</div> 57 <div id="B">B</div><div id="C">C</div> 58 </div> 59 60 </body> 61 </html>