The case of firefox input button extra mystery padding.
Firefox can be annoying. it seems firefox addes extra padding to button elements (or input type=”button”) that does not identify itself and cannot be removed using normal css…
what? yes:
this is the fix for the firefox input button extra mystery padding
[code]
.button::-moz-focus-inner
{
border:0;
padding:0;
}[/code]
I can’t (vaguely!) remember coming across this before but it’s certainly annoying and a stupid idea, seeing as we cant even style it using regular css with having to use -moz prefixes!
This is going to be very useful for me thank you very much for posting