knowbility
Introduction to CSS

float

float is a CSS property that causes objects to behave like a block inline.

The values for the float property are:

left floats to the left.

right floats to the right.

none removes the float.

float has a sister property: clear. clear takes the same values (as well as both) and causes a line break after floats.

previous | next