Back to CSS1 Reference | CSS1 Properties
Prev background-color | Next background-position


Property
background-image
Values
<url>, none
Initial
none
Inherited
no

This property sets the background image of an element. When setting a background image, one should also set a background color that will be used when the image is unavailable. When the image is available, it is overlaid on top of the background color.

      BODY { background-image: url(marble.gif) }
      P { background-image: none }

Log in or register to write something here or to contact authors.