HTML CSS examples for CSS Form:Form
force Form tag in pages to have min-height 100%
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .maindiv {<!-- w ww .jav a 2 s .c om--> overflow:hidden; border:2px solid Chartreuse; height:100%; } .left_inner { min-height:100%; background:yellow; width:100%; display:inline-block; vertical-align:top; } html, body { height:100%; } .footer { background:red; } </style> </head> <body> <div class="maindiv"> <div class="left_inner"> Lorem ipsum dol </div> </div> <div class="footer"> Lorem ip </div> </body> </html>