| Clear All Divs Fix |
|
|
|
| CSS - Layout |
| Tuesday, 11 May 2010 16:25 |
Floating divs poking out the bottom? The fix is easier than you think.
Simply putting "overflow:auto;" on the containing div does the trick.
If you're an old HTML hack like me, you're probably used to using something like:
<br clear="all" />
or (I guess) the newer version:
<br style="clear:both"/>
Here's an article that may have more than you want to know about this topic.