Reminder to Self – clear:both breaking a css layout?

Had to fix up a site recently and it was using two floating columns that broke when clear:both was used in the main column. There are better ways to do a two column layout – but just in case … reminder to self …

http://www.danstorm.com/dan-storm-article-css-5.html

1. Float container.
2. Use “overflow: auto” on the container.
3. Use “after”.

Leave a Reply