Hi
I am using Javascript to resize the background image on my site depending on what resolution the visitor to the site has. The site has been created for 800 * 600 and only has a vertical scroll bar.
The image resizes as expected but if there are any scroll bars, any part of the background which is not currently on screen does not get filled with the background. Eg: When I view it on 800 * 600 I just have the vertical scroll bar and the background fills what can be seen on the screen, when I scroll down anything beneath the bottom of the screen when initially loaded does not have a background.
Not sure if any of that makes sense, if it does can someone tell me how to get my background to fill the entire page regardless of scroll bars.
If any more information is needed then ask away. Thanks in advance
naiku
I am using Javascript to resize the background image on my site depending on what resolution the visitor to the site has. The site has been created for 800 * 600 and only has a vertical scroll bar.
The image resizes as expected but if there are any scroll bars, any part of the background which is not currently on screen does not get filled with the background. Eg: When I view it on 800 * 600 I just have the vertical scroll bar and the background fills what can be seen on the screen, when I scroll down anything beneath the bottom of the screen when initially loaded does not have a background.
Not sure if any of that makes sense, if it does can someone tell me how to get my background to fill the entire page regardless of scroll bars.
If any more information is needed then ask away. Thanks in advance
naiku