background | NN 6 IE 4 CSS 1 |
Inherited: No | |
This is a shortcut attribute that lets you set up to five separate (but related) background-style attributes in one attribute statement. Values can be in any order, each one delimited by a space. Although the attribute is not officially available in Navigator 4, some combinations of values may work with it. |
|
CSS Syntax | |
background: background-attachment || background-color || background-image || background-position || background-repeat |
|
Value | |
Any combination of the five background-style attribute values, in any order. Any attribute not specified is assigned its initial value. See each attribute for details about the expected values. |
|
Initial Value | |
None. |
|
Example | |
body {background: url(watermark.jpg) repeat fixed} |
|
Applies To | |
All elements. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.background
|