Home › Forums › CSS › setting a background that grows or shrinks › Re: setting a background that grows or shrinks
December 11, 2011 at 7:58 am
#92447
Member
I think what you are asking is “why doesn’t the body fill the entire browser window?”… Try setting the html and body to 100% height, but clear the margins otherwise you’ll always get a scroll bar:
html,body {
height: 100%;
margin: 0;
}