Div full height - Not responsive - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Responsive Layout

Description

Div full height - Not responsive

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">
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
* {<!-- www  .ja  va  2  s.  co m-->
   padding:0;
   margin:0;
}

.fill {
   width:51%;
   height:100%;
   min-height:100%;
   background-color:Chartreuse;
   color:yellow;
}
</style> 
 </head> 
 <body> 
  <div class="container"> 
   <div class="span5 fill"> 
    <div class="test"> 
     <pre>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorpe</pre> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials