ShootingBlanks Posted September 5, 2008 Share Posted September 5, 2008 Hello - I'm having trouble with the layout of a site I'm working on. Here's the site in question: http://www.americanidiotsband.com/ If you look at it in anything up to 1024x768, it's fine. But if you go higher than that (say, 1280x1024 resolution), then the main (black) part of the page goes only as far down as the content that is filling it. What SHOULD happen is that the black background should span all the way to the bottom, no matter how much content is inside it... Here is a link to the stylesheet that I made up: http://www.americanidiotsband.com/styles.css I'm sure I'm doing something wrong, and I'm hoping that someone could help me correct this. Thanks in advance for any help that can be offered!... Quote Link to comment https://forums.phpfreaks.com/topic/122866-solved-getting-the-main-content-of-a-page-to-span-top-to-bottom/ Share on other sites More sharing options...
sKunKbad Posted September 6, 2008 Share Posted September 6, 2008 Sometimes you need to apply a background color to HTML in your stylesheet. You might be applying it to the BODY, but that is sometimes not enough. I have had this problem in the past. html { background-color:#f4edad; } Quote Link to comment https://forums.phpfreaks.com/topic/122866-solved-getting-the-main-content-of-a-page-to-span-top-to-bottom/#findComment-635051 Share on other sites More sharing options...
ShootingBlanks Posted September 6, 2008 Author Share Posted September 6, 2008 It actually turns out I figured it out. I needed to have a "height:100%" property in one of the divs. Thanks, though!!! Quote Link to comment https://forums.phpfreaks.com/topic/122866-solved-getting-the-main-content-of-a-page-to-span-top-to-bottom/#findComment-635215 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.