background-image

Specifies the URL for a background image for an element.

Platform Support

IENetscapeMozillaOperaSafari
4.0+4.0+1.0+4.0+1.0+

Usage

[url(image-url) | "none" ]

Example

To specify a background image in an "images" directory named myCat.jpg, use the following syntax: body {background-image: url(images/myCat.jpg)}.

Availability

W3C CSS2

Related

text_css aptana_docs