You cannot specify the width of the background-image in the
"background" shorthand property. You'll need to make the image the
exact width that you need.

When setting a background you are limited to
background-image,background-repeat,background-position,
background-color and background attachment. See a detailed overview
here:

http://www.w3schools.com/css/css_background.asp



On Tue, Jan 13, 2009 at 11:50 AM, Keith Kaiser <wa0...@gmail.com> wrote:
> When setting the background in CSS can you set the image width at the
> same time?
>
> Example;
> background: #00ff00 url('smiley.gif width:50') no-repeat fixed center;
>
> Or something like that anyway.
>
> Thanks.
>
> ______________________________________________________________________
> 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/
>
______________________________________________________________________
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