CSS Property - Clear

Value: none | left | right | both
Initial: none
Applies to: all elements
Inherited: no
Percentage values: N/A

This CSS property specifies if an element allows floating elements on its sides.

To be more specific the value of this property lists the sides where floating elements are not accepted.

With "clear" set to "left", an element will be moved below any floating element on the left side. With "clear" set to "none", floating elements are allowed on all sides.

Example:

img {
clear: right;
}

Check Out Our Sponsors
Check Out Our Host

ANHosting

Free CSS.com is proud to be hosted by ANHosting.com. US Based Support starting at only 23 cents a day.
Use the coupon code FREECSS for 3 free months of hosting. Click Here »

Bookmarks
RSS Feed    Search

Looking for FREE HTML email templates - Sign up for a FREE account with MailChimp today!