Tom Livingston wrote:
> List,
>
> What is the reasons for using:
>
> background: #fff;
>
>
>
> instead of:
>
> background-color: #fff;
>
>
>
> I've seen this lately, and wonder why the preference for the first
> one. I've only used 'background' as shorthand for something like:
>
> background: #fff url(images/image.png) left top no-repeat;
>
> Which is better or more correct?
>
>   


In CSS this

background: #fff;

is more "lean" and "mean" than this

background-color: #fff;

Both are valid CSS.

~d



-- 
desktop
http://chelseacreekstudio.com/
mobile
http://chelseacreekstudio.mobi/

______________________________________________________________________
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