On Thu, 21 Feb 2002, Jonas J�rgensen wrote:
> IIRC, 'background' is only supposed to work when you specify more than
> one property in it. so {background: #000;} will not work, but
> {background: #000 url(abc.gif);} will. I might be wrong, though.

No, 'background: #000' is valid and sets all the properties other than
'background-color' that are represented by the 'background' shorthand to
their default values.  See:

http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background
http://www.w3.org/TR/REC-CSS2/about.html#shorthand

-David

-- 
L. David Baron        <URL: http://www.people.fas.harvard.edu/~dbaron/ >

Reply via email to