The float property creates a floating box.
Property |
Value |
Explanation |
float |
left |
the box floats to the left (the text wraps to the right of the box) |
right |
the box floats to the right (the text wraps to the left of the box) |
none |
the box doesn't float (default) |
Please see the "clears float" when you specified the left or right.
Example