floats-wrap-bfc-003-left-table-ref.xht (792B)
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: 150px; background: aqua"> 11 <div style="float:left; background:blue; width: 100px; height: 100px"></div> 12 <div style="float:left; clear:left; background:purple; width: 250px; height: 50px"></div> 13 </div> 14 15 16 17 </body></html>