Hide Overflowing Floats
November 12th, 2008 | CSS | 2 Comments »Floating elements on a page is easily the most common way to achieve columned layouts on the web. You can also use the position property, but I find floating to be far better to keep the element in the flow of the page.
One problem that shows it self a lot, is when you have floated items inside a container, and that container has a background. You will find that the container does a poor job of containing the floated items.