background-image | WebReference

background-image

Name: background-image

Description: Used to display an image in the background of the element.

Browser Compatibility: IE 4+ / NN 4+

Inherited: No

Values:

Code Example:

body {background-image: url(/img/graphic.jpg);}

Comments: A background color should also be specified.