Clearing Floats - Example 1

Inner DIV

#inner
{
width:26%;
float:left;
}

You can make this column:

Outer DIV

#outer
{
background-color:#fff;
width:100%;
}

You can make this column short, longer or very long.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tatio

Go to Example 2

From SitePoint's Pixel Perfect Blog