color | background |
background-color |
background-image background-repeat | background-attachment | background-position |
|
Allowed Values |
Value Type |
Browser Support |
Description |
[color] | explicit | IE3B1 | N4B2 | This is a representation of the values for Red/Green/Blue used to determine a final display color. Please see the section on Color Units for details on the various color specification schemes. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
[background-color] | NA | IE3B1 | N4B2 | See the individual property for details on syntax and allowed values. |
[background-image] | NA | IE3B1 | N4B2 | See the individual property for details on syntax and allowed values. |
[background-repeat] | NA | IE3 | N4B3 | See the individual property for details on syntax and allowed values. |
[background-attachment] | NA | IE3 | N | See the individual property for details on syntax and allowed values. |
[background-position] | NA | IE3 | N | See the individual property for details on syntax and allowed values. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
[color] | explicit | IE4B1 | N4B2 | This is a representation of the values for Red/Green/Blue used to determine a final display color. Please see the section on Color Units for details on the various color specification schemes. |
transparent | explicit | IE4B2 | N4B2 | This specifies that the parent element background/image will shine through if one exists, else the system default background/image value is used. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
[URL Location] | user specified |
IE4B1 | N4B2 | It can be either an absolute or relative URL. Please see the section on URL Units for details on how to indicate a URL within a Style Sheet. |
none | explicit | IE4B1 | N4B2 | No image is used as the background for the element. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
repeat | explicit | IE4B2 | N4B3 | Image is repeated (tiled) both vertically and horizontally. |
repeat-x | explicit | IE4B2 | N4B3 | Image is repeated (tiled) horizontally only. |
repeat-y | explicit | IE4B2 | N4B3 | Image is repeated (tiled) vertically only. |
no-repeat | explicit | IE4B2 | N4B3 | Image is not repeated. Only a single occurrence of the background behind the current element is used. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
scroll | explicit | IE4B2 | N | Background image moves when the browser window is scrolled to view text outside the current display area. |
fixed | explicit | IE4B2 | N | Background image does not move when the browser window is scrolled to view text outside the current display area. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
[X% Y%] | calculated | IE4B2 | N | Percentage is in reference to the dimension of the current element. |
[X Y] | calculated | IE4B2 | N | Represents absolute coordinate position of the image. Standard Length Units may be used here. |
[(left/center/right) (top/center/bottom)] |
explicit | IE4B2 | N | Keywords representing screen positions. Left keyword is the X-position and the right keyword is the Y-position for the image. |