CSS Property - Background Image

Value: <url> | none
Initial: none
Applies to: all elements
Inherited: no
Percentage values: N/A

This property sets the background image of an element. If the CSS property "background-image" is being used then you should also set a background colour in case the background image can not be found on the server. When the image is available, it is overlaid on top of the background color.

Example:

body{
background-image: url("image.gif");
background-color: #FEFEFE;
}

Check Out Our Sponsors
Check Out Our Host

ANHosting

Free CSS.com is proud to be hosted by ANHosting.com. US Based Support starting at only 23 cents a day.
Use the coupon code FREECSS for 3 free months of hosting. Click Here »

Bookmarks
RSS Feed    Search

Support Free CSS.com. Sign up for a FREE account with MailChimp. No Credit Card Necessary!