By willcode4beer
via blog.labnotes.org
Published: Jul 05 2008 / 13:10
Turns out some of the float annoyances I recently experienced are easily fixed. All it took was a quick read through Anthony Short’s How to get Cross Browser Compatibility Every Time. As a rule of thumb remember to always overflow:auto your containers:
It seems that reminding the outer DIV that it’s overflow is set to ‘auto’, forces it to think “oh yeah.. I’m wrapping that thing, aren’t I?”.



Add your comment