remove button padding on active in IE
In IE for button elements, when you click the button the text gets pushed down, it's like additional padding as been added to the button when active or click.
Any idea how to remove this? I've tried adding:
button:active, button:focus{
padding: 0;
margin: 0;
outline: 0;
开发者_C百科}
but this doesn't do anything.
Thank you!
IE7? Put overflow:hidden
to the button
I believe putting it is putting a border so by adding border:none should get rid of it. In any case you should be using a reset like Eric Meyers reset which puts all browsers at an even playing field
精彩评论