Archive for July 14, 2008

CSS Clear Both

Posted in Software, programming with tags on July 14, 2008 by Joey

When floating elements in CSS, it is often necessary to make a break in a series of horizontal elements and go down to the next line.

In such an instance, the “clear” property can be set with a value of “both,” as follows:

.clear {
clear:both;
}