title: Why is that the "size" attribute in a "<input>" tag in HTML only applies to TEXT and not NUMBER?
body: <p>If I have a HTML file with the tag <code>&lt;input type="text" size="3" …&gt;</code>it does what it should do, it renders an input element with the width of 3 characters. On the other hand, if I have the tag <code>&lt;input type="number" size="3" …&gt;</code> it renders the default width for an input field (much longer than 3 chartacters).</p>
  
  <p>I know I can make a custom class with a <code>.myclass { width: 75px; }</code>, but I think it would be much easier to use the size attribute, specially if I know for a number field that the numbers accepted will be from 0 to 100, why to use a wider input field?</p>
  
  <p>Is this done by design? Am I required to use CSS for this? If that so, how can I render an input field of exactly three characters wide according to the font family/size I'm using in the form?</p>