Home » CSS Tutorial » CSS Properties » background-image
background-image
CSS Property Info :
| Syntax: |
background-image: <value> |
| Possible Values: |
<url> | none
|
| Initial Value: |
none |
| Applies to: |
All elements |
| Inherited: |
No |
CSS Browser Support :
Internet Explorer 4+
Netscape 4+
Opera 3.6+
W3C's CSS Level 1+
CSS Profile 1.0
Web TV
CSS Property Description :
The background-image property sets the background image of an element. For example:
BODY { background-image: url(/images/foo.gif) }
P { background-image: url(http://www.htmlhelp.com/bg.png) }
When a background image is defined, a similar background color should also be defined for those not loading images.
Authors may also use the shorthand background property, which is currently better supported than the background-image property.
CSS Bugs / Problems :
none
Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.
Copyright © John Pozadzides and Liam Quinn. All rights reserved.
Home » CSS Tutorial » CSS Properties » background-image
|