2009/1/13 Keith Kaiser <[email protected]>:
> When setting the background in CSS can you set the image width at the
> same time?

CSS currently provides no way to scale background images at all.

I seem to recall CSS 3 is proposing something to make that possible,
but support isn't strong yet.

People who really want to scale background images on the client tend
to use foreground images and absolutely position them at a lower
z-index then the content.

I'd try to pick images that tile or fade to a solid colour, and do any
scaling on the server.

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [[email protected]]
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