Reputation: 4185
I'm seeing a dotted white border around a element (only in Firefox, not Chrome or Safari).
Screenshot -
Any idea what it is? There are no "-moz*" css rules on the element, and I'm unable to find any property that removes it.
Upvotes: 2
Views: 121
Reputation: 1677
remove all outline in your css which look like this
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
Upvotes: 2
Reputation: 125
/*for FireFox*/
input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner
{
border : 0px;
}
/*for IE8 */
input[type="submit"]:focus, input[type="button"]:focus
{
outline : none;
}
or
#myElement { outline: 0; }
Upvotes: 0