New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

#float

Pushes the element to either the left or right side. The following siblings will wrap around the floating element

default float: none;

Removes any previously defined float value. The element will remain in the natural flow of the page.

float: left;

Moves the element to the left side of its container. The following elements will wrap around it and fill the space remaining on the right.

float: right;

Moves the element to the right side of its container. The following elements will wrap around it and fill the space remaining on the left.