/ Published in: CSS
To remove that ugly added padding from submit buttons try this
width:auto !important; seems to work for IE7
width:auto !important; seems to work for IE7
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--[if lt IE 8]> <style> /* IE6 */ *html input.button{ overflow: visible; /* remove padding from left/right */ width:0; /*remove the remaining space in IE6*/ } /* IE7 */ *:first-child+html input.button{ overflow: visible; /* remove padding from left/right */ width:auto !important; } </style> <![endif]--> <input class="button" type="submit" value="IE567 sux" />