HTML and CSS Reference
In-Depth Information
Name
background-image
Values:
<bg-image> [ , <bg-image> ]*
Expansions:
<bg-image>
<image> | none
Initial value:
none
Applies to:
All elements
Inherited:
No
Computed value:
Absolute URI
Description:
Places one or more images in the background of the element. Depending on the value of
background-repeat , the image may tile infinitely, along one axis, or not at all. The initial
background image (the origin image) is placed according to the value of background-posi-
tion .
Examples:
body {
background-image: url(bg41.gif), url(bg43.png),
url(bg51.jpg);}
h2 {background-image: url(http://www.pix.org/dots.png);}
Search WWH ::




Custom Search