Being curious I visited that page and it did indeed have the properties
listed in the order:
[<'background-color'> || <'background-image'> || <'background-repeat'> ||
<'background-attachment'> || <'background-position'>]
But, at the bottom of that property the example is given:
P { background: url("chess.png") gray 50% repeat fixed }
Which does not follow that order. That, and the fact that it is not
explicitly stated that the order matters, leads me to believe that the order
does not matter.
Of course, that does not mean that some browsers are picky about the order.
I've heard that IE doesn't always follow W3 specs... :)
Just thought I'd throw that out there.
Mike
-----Original Message-----
The background CSS property is a culmination of several individual
properties. Does it work if you set those separately? I.e.:
background-image: url(images/mt2.jpg);
background-color: #fff;
background-position: top center;
background-repeat: no-repeat;
If you want to put it in one property, browsers tend to be specific about
the order of things if you use more than one value. From the CSS spec:
background: [background-color] [background-image] [background-repeat]
[background-attachment] [background-position]
See http://www.w3.org/TR/CSS21/colors.html#propdef-background for more
information.
HTH,
Rick.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/