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;
}
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;
}