Reputation: 6019
is i t possible to get the body or any other element to fill the whole height of the browser in any resolution with css?
many thanks
Upvotes: 0
Views: 1285
Reputation: 53991
You might try using:
html,body{
height:100%;
}
This is often used to force scroll bars in browsers that only show scroll bars once the content on the page forces the height to be below the fold. (keeping the page consistent and stopping it from jumping left and right depending on page height).
Upvotes: 5