the issue i am having is the page heights vary from page to page. if i create an image for a specific height, say the shorter pages, the longer pages are going to get a large area of grey to the bottom.
Mmmmmm not that I can think of. I suppose it might be possible if you wrote a PHP or ASP script to write the page out and use a different image for the background depending on page length but I can't think of any way you can tell what the page length is.
You might be able to attach the background image to the bottom of a container div and make the page background white so it's all white at the top then gradually goes grey towards the bottom but I can't think of any way to spread it evenly down the page.
The only other possibility and it's not one I normally recommend as it doesn't usually work, is to specify the height as 100% to try and stretch the image. You'll be very lucky if it does though and it probably won't work in all browsers.
On balance I'd go for attaching the image to the bottom of a container div.
The problem though if you try to stretch the image is that the fade effect will look vastly different on different length pages - I'd go for Jaybee's original suggestion as it will have a more unified look.
The problem though if you try to stretch the image is that the fade effect will look vastly different on different length pages - I'd go for Jaybee's original suggestion as it will have a more unified look.
That was the other bit I meant to put but it was ridiculous a.m. and I decided to sleep rather than log back in.
The longer the page the worse the image would get. The only way you might possibly get away with that is to use a very hi resolution image but even then, it would depend on exactly how long the page was. There is a limit to how far they'll stretch without getting blocky.