html, body{height:100%; margin:0} #content{ box-sizing:border-box; height:100%; border:1px solid #000; overflow:auto; }