CSS Floats

By Deane Barker on August 30, 2003

Containing Floats: Slick method of clearing margins using invisible horizontal rules.

“…in order to keep with Web design tradition and author expectation, CSS is written to allow floated elements to stick out of the bottom of their containing elements. While this is necessary for normal text flow, it’s a major problem when floats are used for layout purposes.”

Via Brainstorms and Raves.

Gadgetopia