The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Backgrounds |
| Previous Style: azimuth | Next Style: background-attachment |


background

This is a shorthand style that enables you to set the various background properties in a single style.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later 4.0 and later
Notes: Possible Values:
[background-attachment]
See background-attachment.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later Not supported

[background-color]
See background-color.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later 4.0 and later

[background-image]
See, background-image.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later 4.0 and later

[background-position]
See background-position.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later Not supported

[background-repeat]
See background-repeat.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later 4.0 and later

Example:
The following tag sets the background image, tiling, and position:
<BODY STYLE="background: url(bg03.gif) no-repeat 0 0">

| Index | Current Category: Backgrounds |
| Previous Style: azimuth | Next Style: background-attachment |