1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Avoid nested floats in previous siblings
</title>
5 <link rel=
"author" title=
"WebKit" href=
"http://www.webkit.org/">
6 <style type=
"text/css">
9 background-color:green
;
23 background-color: green
;
27 /*'overflow: hidden' forces the div to avoid floats*/
36 <p>There should be no red below.
</p>
39 <div id=
"float-right"></div>
41 <div id=
"div2">Text
</div>