> I would like to know if CSS is capable of this if you create 
> a background image that is a fixed size and want it to resize 
> based on the browser window resizing is this possible ?

That's not possible using background properties with current CSS. Using CSS,
the only way I can think of doing this is to fake it "layering" two DIVs
that fill the viewport -- the bottom one with the scaled image and the top
one with the content. 

Don't ask me how, because I would resort to using JS to achieve it -- and
making certain the page degraded gracefully if JS was off. One of the
resident CSS whiz kids would have to tell you how to do it as purely a CSS
solution.

FWIW, keep in mind that if you scale an image the quality of it will degrade
as it is enlarged. So a beautiful image at 640 x 480 is going to be very
pixellated enlarged to fill a 1920 x 1200 viewport!

...Rob E.
____________________________________
Rob Emenecker @ Hairy Dog Digital
www.hairydogdigital.com
 

______________________________________________________________________
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