I'm trying to get rid of the dotted outline that appears in FF when you click an input of type button. This outline doesn't appear in Chrome.
I've tried:
.button {
border:none;
outline:none;
}
.button:active {
border:none;
outline:none;
}
.button:focus {
border:none;
outline:none;
}
None of these work. Anyone know the real solution? Thanks.
Edit: Looking for a better solution.
onclick flashes the outline, as in, it appears, and then disappears on mouseup. I tried binding the blur to mousedown and mouseup, but the flash persists.
Anyone have any better ideas?
Thanks.
Edit again:
Solution works in latest version of FF. Looks like a bug was fixed or something.