- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi all,
I run into this issue CONSTANTLY, and I have not yet found a solution that works. Can anyone please tell me why my background color won’t stretch to the bottom of the page? I have tried margin and padding of 0 on both the body and html tags, and min-height of 100% on all containers. Your thoughts will be much appreciated.
http://www.bostoncabaret.org/redesign/board.html
Thanks!
Robin
Just remove html and body height: 100% and you’re good to go. You don’t seem to need that rule for anything practical.
Is this what you’re looking for
body{
background-attachment: fixed;
}
Hi Merri,
Whoah! You rock! It worked like a charm. I did, however, have one page that was very short (light on content) so it didn’t work on that page, but when I include just html{min-height:100%} with no mention of the body tag, that fixed, too!
Thanks so much for your reply!
Hi Magicspon,
That wasn’t what I was looking for, but thank you very much for replying!