Difference between revisions of "CSS GUIDE BACKGROUND IMAGE"
(→Specification Conformance) |
(→Specification Conformance) |
||
Line 39: | Line 39: | ||
== Specification Conformance == | == Specification Conformance == | ||
− | [http://www.w3.org/TR/CSS1#background-image| CSS 1] | + | [http://www.w3.org/TR/CSS1#background-image | CSS 1]<br /> |
− | CSS 2.1 | + | [http://www.w3.org/TR/CSS21/colors.html#propdef-background-image | CSS 2.1 ]<br /> |
− | CSS 3 | + | [http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-background-image | CSS 3]<br /> |
== Browser Compatibility == | == Browser Compatibility == | ||
== See Also == | == See Also == |
Revision as of 23:47, 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
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
Usage Examples
body { background-image: url("images/mybackground.png"); } p { background-image: none; }