HTML CSS examples for CSS Property:overflow
HTML height 100 % page overflow
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #top { background-color:Chartreuse; padding:11px; border:2px solid; } html {<!-- w w w . j a v a 2 s .com--> height:100% } body { height:100%; margin:0; } #container { background-color:yellow; min-height:100%; } #content1 { background-color:blue; } #content2 { background-color:pink; margin:11px; } </style> </head> <body> <div id="container"> <div id="top"> <div id="content1"> Lorem ipsu </div> </div> <div id="content2"> Lorem ipsu <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem <br>Lorem </div> </div> </body> </html>