title: css: issue with width and padding of an input in IE
body: <p>I'm having a problem with widths on input[text] fields in IE, all versions.</p>
  
  <p>I have a div with an explicitly set width of 250px. 
  In this div, I have an input text field with width set to 100%. This input also has an internal left-padding of 10px.</p>
  
  <p>In IE, it renders the width as 100% + 10px. I cannot figure out a technique for constraining the width to the container.</p>
  
  <p>This problem initially occurred in all browsers, but was very easy to fix in FF, Safari and Chrome by adding max-width:100%. IE6/7 don't support this, while IE8 does but it also still adds the padding to the width.</p>
  
  <p>I understand that IE's box model includes border and margin in its width calculations, so with that given as understood I still can't figure a way around this.</p>
  
  <p>I'm also trying to find a better solution than just setting my input widths to 240px with the padding, because there are various inputs in this form who's containers vary in size and I'd like to find a universal solution.</p>
  
  <p>Here's some code:</p>
  
  <pre><code>&lt;div class="places_edit_left"&gt;
      &lt;h4&gt;PHONE &lt;strong&gt;(NOT USER EDITABLE)&lt;/strong&gt;&lt;/h4&gt;
      &lt;input type="text" value="" name="phoneNumber"/&gt;
  
      &lt;h4&gt;ADDRESS&lt;strong&gt;(NOT USER EDITABLE)&lt;/strong&gt;&lt;/h4&gt;
      &lt;input type="text" value="" name="address"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>.places_edit_left{ width:250px; }
  .places_edit_left input{ width:100%; max-width:100%; padding-left:10px;}
  </code></pre>