firefox input button extra mystery padding

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:firefox input button extra mystery padding

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!




2 Comments

That is a good tip particularly to those new to the blogosphere. Simple but very accurate information¡­ Thank you for sharing this one.

Leave a Reply

Your email address will not be published. Required fields are marked *