force Form tag in pages to have min-height 100% - HTML CSS CSS Form

HTML CSS examples for CSS Form:Form

Description

force Form tag in pages to have min-height 100%

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials