min-width: 200px : min width « CSS « HTML / CSS

HTML / CSS » CSS » min width 
min-width: 200px
   
<!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: thin solid black;
            width: auto;
            min-width: 200px;
        }
            </style>
        </head>
        <body>
      <p>
this is a test. this is a test. this is a test. this is a test. this is a test. 
this is a test. this is a test. this is a test. this is a test. this is a test. 
this is a test. this is a test. this is a test. this is a test. 
      </p>
        </body>
    </html>

   
    
  
Related examples in the same category
1.min width
2.min-width:700px
3.width: auto; min-width: 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.