min height : min height « CSS « HTML / CSS

HTML / CSS » CSS » min height 
min height
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   <html>
        <head>
            <title></title>
            <style type='text/css'>
        {
            padding: 10px;
            margin: 10px;
            border:  1px solid black;
            background: lightgray;
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            min-height: 200px;
        }
            </style>
        </head>
        <body>
      <p>
          A positive attitude may not solve all your problems, but it will annoy enough
          people to make it worth the effort.
              - Herm Albright
      </p>
        </body>
    </html>

   
    
  
Related examples in the same category
1.'min-height' Example
2.min-height: 200px
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.