Fix IE6 Input Box Padding


/ Published in: CSS
Save to your folder(s)

In IE6 the padding applied to input boxes can be incorrectly rendered showing no difference in the height of the box. Adding "overflow:visible" seems to fix it.

Referenced Source: http://stackoverflow.com/questions/561904/can-you-tweak-the-left-and-right-padding-on-an-html-input-button


Copy this code and paste it in your HTML
  1. input {
  2. font-size: 1.2em;
  3. padding: 10px;
  4. overflow:visible;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.