title: Limit the size of a file upload (html input element)
body: <p>I would like to simply limit the size of a file that a user can upload.</p>
  
  <p>I thought maxlength = 20000 = 20k but that doesn't seem to work at all.</p>
  
  <p></p>
  
  <p>I am running on Rails, not PHP, but was thinking it'd be much simpler to do it client side in the HTML/CSS, or as a last resort using jQuery. This is so basic though that there must be some HTML tag I am missing or not aware of.</p>
  
  <p>Looking to support IE7+, Chrome, FF3.6+. I suppose I could get away with just supporting IE8+ if necessary.</p>
  
  <p>Thanks.</p>