I know what you mean and what you are trying to accomplish but in reality you are making it overly complicated. To make it accustomed to all resolutions make the background COLOR your very last pixel. Say you have a bg image that fades from white to black
so your css would look like:
Code:
body {
background: #000 url(image/bg.jpg) repeat-x;
}
Take a look at this:
http://nvsmedia.syncomm.net/
the source code for that. The bg image is 1 pixel wide and 768 pixels tall. I took the very last pixel of my bg and made it the bg color.
If you don't want it to do that you can make your bg image fixed (where it scrolls with the user) but this makes for an odd site.
__________________
Chris - Trying to help others and learn myself!
Please login or register to view this content. Registration is FREE
Last edited by ctess; 12-05-2006 at 05:30 AM..
|