Highlight input elements disabled by one in Firefox

I hope that I will miss something simple, but for life I canโ€™t understand why I cannot build the input type <input type = "text"> next to <input type = "submit">.

A bit of searching on StackOverflow led me to a box-sizing property that fixed my problem in IE, but Firefox gets me started. These two elements now have the same size but are offset by 1 pixel.

Here 's the jsfiddle violation code .

Any suggestions?

+3
source share
1 answer

You need to install:

input[type=submit]::-moz-focus-inner{ border: 0; }

Changing the window model seems to be the result of this effect, but essentially the same problem as this .

+3
source

All Articles