Forums

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

Home Forums CSS setting a background that grows or shrinks Re: setting a background that grows or shrinks

#92447
Mottie
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;
}