CSS Float Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies whether an element is floated so that other elements (generally text) might flow around it.
Syntax
float: [value];
Possible values
- left
- right
- none
- inherit
Initial Value
None
Applies To
All except for positioned elements and generated content
Inherited
No
Media
Visual
Example
.imgLogo {float: right;}