ericgrosse
ericgrosse

Reputation: 1510

Table td input field border issue in firefox

Demo

enter image description here

Click on any cell in the table in the JSFiddle in firefox and you'll see that the bottom and right borders are hidden. Is there an elegant way to get around this?

I have tried a couple of things but they didn't work out for me:

Upvotes: 0

Views: 80

Answers (1)

Tomek Sułkowski
Tomek Sułkowski

Reputation: 7201

In my experience box-shadow is far more reliable, and on top of it more flexible to use than outline ;)

input:focus {
    box-shadow: 0 0 0 2px blue inset;
}

Upvotes: 3

Related Questions