Osiris
Osiris

Reputation: 4185

Unidentified CSS element

I'm seeing a dotted white border around a element (only in Firefox, not Chrome or Safari).

Screenshot -

white border

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

Answers (3)

vyoma shah
vyoma shah

Reputation: 1

-moz-focus-inner {    
outline:0 none !important;
}

Upvotes: 0

Punith Jain
Punith Jain

Reputation: 1677

remove all outline in your css which look like this

  outline: 5px auto -webkit-focus-ring-color; 
   outline-offset: -2px; 

Upvotes: 2

Eslam Totti
Eslam Totti

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

Related Questions