How delete the border, which appears around a tag, when we click on it?
When we click on a
tag, the border is appear around it.
In Mozilla that border has the color of a
tag, so when i set the color of a tag same as the background color of content, the border disappears, but in IE that border always white, so i don't know how dele开发者_如何学Gote it.
Any ideas?
Thanks much
Remove outline.
a {
outline: none;
}
Don’t.
This makes your site inaccessible to keyboard users. That may not sound like a big deal, but many people with relatively minor disabilities are unable to use a mouse.
At the very least, replace it with something else to indicate focus.
:link:focus, :visited:focus {
-moz-outline: none;
}
From: http://www.webmasterworld.com/forum21/8697.htm
精彩评论