I recently had a question similar to this one, but I struggled to explain it properly without a JSFiddle. After spending about 20 minutes creating this fiddle, I hope it helps clarify my issue!
In my project, I have expandable DIVs that cause the "container" to adjust its length accordingly. However, when the divs are expanded, the content overflows off the page instead of stretching it. I've tried adding padding, but nothing seems to solve the problem.
The linked JS Fiddle demonstrates the specific issue I am facing.
html, body {
height: 100%;
}
#wrapper {
height: 100%;
margin-bottom:20px;
}
Please take another look at the updated fiddle