HTML and CSS Reference
In-Depth Information
Value: background-attachment background-color background-image
background-position background-repeat
Initial value: See individual properties
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
Note Individual values can be specified in any order. If values are omitted, the initial values of the respec-
tive properties are assumed.
background-attachment
Determines whether a background image should be fixed or movable when the element is
scrolled.
Value: scroll | fixed
Initial value: scroll
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 on any element other than body .
background-color
Used to specify the background color of the element's content and padding areas.
Value: <rgb value> | <hexadecimal value> | <color name> | transparent
Initial value: transparent
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
Search WWH ::




Custom Search