Click to See Complete Forum and Search --> : Autosizing a background CSS


Jeffrey_Mason
11-21-2003, 09:21 PM
I posted this message in the JS forum and was referred to post over here as well.

I have a background image that I wish to have expand and shrink as the browsers size changes.

Any clue how this can be done with a CSS or any other form of code?

The background image is just a simple radial color scheme so the image quality should not be much of an issue.

I found a workaround by making the imported bgi on a much larger scale (2000 X 1200) but I think the workaround is sloppy and would rather use percentages or something to expand a m,ore simple and smaller version of the file...say around 320 X 180 or so.

Any help provided is most appreciated.

Thanks,
Jeffrey

gil davis
11-22-2003, 07:59 AM
http://www.webreference.com/dhtml/diner/bgresize/

Jeffrey_Mason
11-22-2003, 09:07 AM
Thanks alot.

Jeffrey