In the following HTML snippet, how can I make the last paragraph under 2 lists, and not on the right?
<div> <ul style="float: left;"> <li>item 1</li> <li>item 2</li> <li>item 3</li> </ul> <ul style="float: left;"> <li>item 4</li> <li>item 5</li> <li>item 6</li> </ul> </div> <div> <p> A final paragraph of text </p> </div>
This HTML is also available here: http://jsfiddle.net/8f2cE/
In addition, I would appreciate any explanation of why this behavior occurs at all. IMO this is inconsistent because 2 div are the default root level display: block; without any floating attributes, why shouldn't they flow as βnormalβ from top to bottom of the page?
html css css-float
Trindaz Jan 10 '14 at 10:04
source share