kimlb
03-09-2005, 08:23 AM
I'm working on a site, where the background consists of a gradient image at the top and another one at the bottom (both have height 100px). The "middle" part is simply a background-color which matches the color of the connecting parts of the two gradient images top and bottom.
The site contains a number of pages, and on some pages I "risk" that the amount of stuff (text, images, content) "is not enough" to span the height of the page. The result is that I have the top gradient image, flowing over in the background image, which then again flows over into the bottom gradient image. The problem is that where the background-color part/section flows over to the bottom gradient, there is more than 100px left until the bottom of the page, meaning that I get the gradient image for 100px, followed by background-color again, until the bottom of the browser window (looks like 4 parts). This is of course most likely to happen for high resolutions.
Is there a way I can specify that the bottom gradient should be at the bottom of the browser window if such a scenario happens (if the page content only "finishes" at, say, the middle of the page?
Thanks,
Kim.
The site contains a number of pages, and on some pages I "risk" that the amount of stuff (text, images, content) "is not enough" to span the height of the page. The result is that I have the top gradient image, flowing over in the background image, which then again flows over into the bottom gradient image. The problem is that where the background-color part/section flows over to the bottom gradient, there is more than 100px left until the bottom of the page, meaning that I get the gradient image for 100px, followed by background-color again, until the bottom of the browser window (looks like 4 parts). This is of course most likely to happen for high resolutions.
Is there a way I can specify that the bottom gradient should be at the bottom of the browser window if such a scenario happens (if the page content only "finishes" at, say, the middle of the page?
Thanks,
Kim.