My goal is a centered content wrapper which extends to the full height of the page at any time. So far my CSS works if all the content fits into the viewport, but if it doesn't then the div stops after the initial viewport height.
html, body {
height:100%;
}
div {
position: relative;
width: 200px;
height: 100%;
margin: 0 auto 0 auto;
background-color: #FAA
}
demo 1: https://jsfiddle.net/86j3qshr/1/
If you leave out the weight attribute at the div tag then it works as long as the content overflows the viewport. Otherwise the div isn't at full viewport height.
demo 2: https://jsfiddle.net/86j3qshr/2/