---- Bill Brown <macnim...@gmail.com> wrote: > Keith Kaiser 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. > > > Hi Keith, > > The short answer is "No, you can't." > > Sorry. > Hope it helps. > --Bill
Keith: Expanding on what Bill is saying, you could add a "wrapper" div/p that has a transparent background to fix and size the background-image where you want it. Just make sure you make the canvas size of the background image large enough to fill what you think you maximum dimensions will be. Peter Hyde-Smith www.fatpawdesign.com ______________________________________________________________________ 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/