fix width of buttons on IE


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



Copy this code and paste it in your HTML
  1. input.button {
  2. padding: 0 .25em;
  3. width: 0;
  4. overflow:visible;
  5. }
  6.  
  7. input.button[class] { /*ie ignores [class]*/
  8. width: auto;
  9. }

URL: http://jehiah.cz/archive/an-even-better-ie-button-width-fix

Report this snippet


Comments


You need to login to view comments.