c414-flt-fit-000.xht (1299B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Stacking Non-Replaced Left Floats</title> 5 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 6 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 --> 8 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#floating-elements"/> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats"/> 10 <link rel="match" href="c414-flt-fit-000-ref.xht" /> 11 12 <style type="text/css"><![CDATA[ 13 div { font: 16px monospace; border: solid blue; padding: 1em; width: 14em; margin: 10px; } 14 div p { margin: 0; width: 5em; float: left; } 15 ]]></style> 16 17 </head> 18 <body> 19 <p>There should be five numbers, in numerical order, below: on the first line 1, 2 and 3, on the second, 4 and 5.</p> 20 <div> 21 <p> 1 </p> 22 <p> 2 </p> 23 <p> 4 </p> 24 3 25 5 <!-- the font is set to monospace so we know how wide a nbsp is --> 26 </div> 27 </body> 28 </html>