CSS Floats and Container Height
Tuesday, August 26th, 2008<edit>
As pointed out by rborn in the comments below a better way is to simple set the container overflow css property to “auto”. This does the job for you and is a bit tidied that the following solution. However, it might still be use to some of you anyway as it describes the clear property in CSS.
</edit>
It’s been a while since I think I’ve learned something new in the CSS world. So I’m glad to have been recently taught something by a friend.
The problem
For simplicities sake, I’ll just discuss DIV’s. When you make a DIV float (DivB) and its inside [...]
