Klipdrift
asked on
Body background images that auto resize to viewers screen res.
Hi there
Is there a way to get the body background images of web pages to automaticaly resize to what ever screen resolution the viewer is using. The only way so far as I know is to make up 3 or so diferent pages with diferent size pics eg: screen res 800x600, background pic 775x434, scrn res 1024x768, background pic 999x602 etc.
Is there a script or way of not having to have so many pages for diferent scrn resolutions? Current opp sys is WIN 2000 NT. (but solution must be acceptable for most browsers and platforms)
Help
Klipdrift
Is there a way to get the body background images of web pages to automaticaly resize to what ever screen resolution the viewer is using. The only way so far as I know is to make up 3 or so diferent pages with diferent size pics eg: screen res 800x600, background pic 775x434, scrn res 1024x768, background pic 999x602 etc.
Is there a script or way of not having to have so many pages for diferent scrn resolutions? Current opp sys is WIN 2000 NT. (but solution must be acceptable for most browsers and platforms)
Help
Klipdrift
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Javascript is more extensible than that... forget the giant switch/case ...
function putBG(x){
document.body.background=x +".jpg";
}
It is possible though that the user has a weird resolution that you have not allowed for...
function putBG(x){
document.body.background=x
}
It is possible though that the user has a weird resolution that you have not allowed for...
when i log on to msn.com home page, the letters are extra large and overlap each other. What caused this and how can i repair it.
michael
michael
This resizes the bg.