HTML and CSS Reference
In-Depth Information
position
Used to specify the method by which the position of the element's box is determined. Note
that the values absolute and fixed imply that the element's display value must be block . The
display property is ignored in this case. Elements that do not use static positioning make use
of the properties top , right , bottom , and left .
Value: static | relative | absolute | fixed
Initial value: static
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)
Note In Internet Explorer 6 and lower, fixed is not supported. Also, absolute may cause problems with
margin calculation.
top, right, bottom, left
Used to specify the position of elements whose position property is set to fixed , absolute , or
relative .
Value: <length> | <percentage> | auto
Initial value: auto
Inherited: No
Applies to: Elements with position other than static
Supported by: Firefox, Safari, Opera, Internet Explorer
float
Used to specify whether an element is floated, and if so, to which direction.
Value: left | right | none
Initial value: none
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
Search WWH ::




Custom Search