floats-wrap-bfc-002-left-ref.xht (855B)
1 <!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" lang="en-US"><head> 2 <title>CSS Test: Test for flow around floats (reference)</title> 3 <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 <meta http-equiv="Content-Style-Type" content="text/css" /> 7 </head> 8 <body> 9 10 <div style="width: 300px; height: 100px; background: aqua"> 11 <div style="float:left; background:blue; width: 100px; height: 100px"></div> 12 <div style="float:left; background:yellow; width: 200px; height: 100px"> 13 <div style="background:purple; width: 150px; height: 100px"></div> 14 </div> 15 </div> 16 17 18 19 </body></html>