Reputation: 105
Hey im trying to to get my website so it doesn't scroll vertically and im struggling its now scrolling just a bit(20px max)
Site is Here Css: css here
Hope you can help
Denver
Upvotes: 0
Views: 967
Reputation: 155065
You've got body { padding-bottom: 20px; }
. Your box-model is set to the traditional CSS2.1 model, so its "height" is actually "100% + 20px". Eliminate the padding and you're set.
Upvotes: 1
Reputation: 6732
Your #container
div had a height of 100%. Below is your footer, which has some height as well. You should make your container less high or place your footer inside your container, so the total height of both elements below each other doesn't exceed 100%.
Upvotes: 1