Remove Firefox's dotted outline on BUTTONS as well as links?
I can make Firefox not display the ugly dotted focus outlines on links with this:
a:focus {
outline: none;
}
But how can I do this for button tags as well? When I do this:
button:focus {
outline: none;
}
----------------------------------------------------------------------------------------
if you prefer to use css to get rid of the dotted outline:
*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;
}
0 comments:
Post a Comment