title: How to limit input text length using CSS3?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1363030/can-i-specify-maxlength-in-css">Can I specify maxlength in css?</a>  </p>
  </blockquote>
  
  
  
  <p>In my CSS I use this code to make round borders for all the input tags in my site. I wonder if it is possible to limit the lenght of the input in the same way (for example 50 characters)</p>
  
  <pre><code>input  
  { 
  border-radius: 10px;
  -moz-border-radius: 10px;
  -khtml-border-radius: 10px;
  -webkit-border-radius: 10px;
  }
  </code></pre>
  
  <p>I imagine something like (this is not working):</p>
  
  <pre><code>input
  {
  max-lenght: 50;
  } 
  </code></pre>
  
  <p>Any sugestions? Thank you very much!</p>
  
  <p>EDIT: This question is about how many characters can the user write into the field, not the visible size of the input</p>