Color and Background

background-image

Inserts an image in the background of the selected element. Other elements sit over the background image. The image will tile from left to right and top to bottom by default. Use the background-repeat property to change this.

Example

background-image: url(images/photo.jpg);

Browser support

IE5.5+, FF1+, SA1.3+, OP9.2+

Values

URI values Including URLs, URNs, etc.. e.g. url(images/background.jpg);

Related properties

Can be used with..

Search the Soup!