Submit button styling.
Posted: Tue Mar 13, 2007 1:44 pm
Why is it that when you style a submit button in firefox the button looses the text shifting? You probably know what I'm talking about. You probably noticed the content in side a submit button shifting to the button right when you press down on it.
But what I'm wondering is why does this go away in firefox when you style it with css? And why does IE a white pixal border within the set border? E.g:

And I know this isn't a padding issue because the background doesn't render inside this white space and because I set the padding to 0px in my css declarations.
So, how can I toggle having this white border in IE and how could I even put this white space/border in firefox and other browsers? And how do I keep that text shift for firefox?
Thanks for reading.
But what I'm wondering is why does this go away in firefox when you style it with css? And why does IE a white pixal border within the set border? E.g:

And I know this isn't a padding issue because the background doesn't render inside this white space and because I set the padding to 0px in my css declarations.
So, how can I toggle having this white border in IE and how could I even put this white space/border in firefox and other browsers? And how do I keep that text shift for firefox?
Thanks for reading.