# background-image attribute

Type: | url
Inherited: | no
Used By: | All block elements
Default: | none
See: | background-color background-image-dpi background-image-position background-macro background-pdf

This property sets the background image of an element. When setting a background image, authors may also specify a background color that will be used when the image is unavailable - while this is recommended in CSS2, it tends to slow things down when displaying the PDF.
Values for this property are either the URL of an image in PNG, JPEG or GIF format, or "none", when no image is used.

    body { background-image:resources/images/bgimage.png }