Reputation: 27250
I'm working on my sister's website.
I have a problem with the DIV height not adjusting to 100% of the hight of all its child elements. What's weird is that for the child div in question, if I set the float to left, the height adjusts fine, but when it's floating right the containing div comes up short.
Site: http://www.lindsaybryden.com/
Floating Right:
Floating Left:
How can I get the height adjusting properly while floating the child div right?
Upvotes: 0
Views: 74
Reputation: 39902
You are clearing only the left float, not the right float. Try adding
<br style="clear: both;" />
just before the close of divContainer.
Upvotes: 2