Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS An Eternity of CSS Background Stretch Woes!

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #156570
    RobinBee
    Participant

    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

    #156572
    Merri
    Participant

    Just remove html and body height: 100% and you’re good to go. You don’t seem to need that rule for anything practical.

    #156583
    magicspon
    Participant

    Is this what you’re looking for

    body{
    background-attachment: fixed;
    }
    
    #156666
    RobinBee
    Participant

    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!

    #156667
    RobinBee
    Participant

    Hi Magicspon,

    That wasn’t what I was looking for, but thank you very much for replying!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.