CSS Clear Property

Posted The: 15/01/2009 At: 10:55

The Clear Property of CSS can be used together with float, to specify if an floated element will allow content on its left or right side.

Possible Values

noneThe element flows normally.
leftThe element is treated as a block to its left.
rightThe element is treated as a block to its right.

Example

div {
  float: left;
  clear: left;
}

Inherited? NO!

Comments: [0]

© Brugbart Webdesign