Difference between revisions of "CSS GUIDE BACKGROUND IMAGE"
(→Syntax) |
(→Mozilla Recommended Values) |
||
Line 29: | Line 29: | ||
== Mozilla Recommended Values == | == Mozilla Recommended Values == | ||
+ | See Notes. | ||
== Usage Examples == | == Usage Examples == |
Revision as of 23:51, 21 November 2006
Contents
Summary
The background image property is used to set the background image for a given element.
Applicability: | The background image property can be used for all CSS elements. | |
Media Group: | Visual | |
Inherited: | No |
Syntax
TARGET_ELEMENT {background-image: url | none ;}
Legal Values
url | A URL path to an image file to be used as the background image. |
none | Specifies that no background image is to be used. |
Mozilla Recommended Values
See Notes.
Usage Examples
body { background-image: url("images/mybackground.png"); } p { background-image: none; }