I am having an issue with CSS and a gradient background.
body{
background:#f4f4f4 url(/images/theme/bg_body.png) top center repeat-y;
color:#333;
}
The background is supposed to tile but it gets cut off if the browser window is too small and you need to scroll down. It just puts white space where the background should be. The website can be found at myoileDOTcom. The login page is a good page to test on because it is shorter. I have played around with height:100% and min-height:100% in the body and html parts but cannot figure this out. It is driving me crazy. Any solutions or ideas would be greatly appreciated. Thanks.
Question
Jon 5
I am having an issue with CSS and a gradient background.
body{ background:#f4f4f4 url(/images/theme/bg_body.png) top center repeat-y; color:#333; }The background is supposed to tile but it gets cut off if the browser window is too small and you need to scroll down. It just puts white space where the background should be. The website can be found at myoileDOTcom. The login page is a good page to test on because it is shorter. I have played around with height:100% and min-height:100% in the body and html parts but cannot figure this out. It is driving me crazy. Any solutions or ideas would be greatly appreciated. Thanks.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts