--- On Tue, 2/23/10, Jason Arnold <jaon.arn...@gmail.com> wrote:

> > What is the reasons for using:
> >
> > background: #fff;
> >
> > instead of:
> >
> > background-color: #fff;

I'm surprised no-one's pointed out the obvious: that using "background" will 
override all other background-* properties (to their default values), in 
addition to setting background-color. Using "background-color" will just set 
that property and inherit the others.

Depending on your existing CSS, this could be significant.

- Bobby
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to