tags:

views:

38

answers:

3

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 delete it.

Any ideas?

Thanks much

A: 
:link:focus, :visited:focus { 
-moz-outline: none; 
}

From: http://www.webmasterworld.com/forum21/8697.htm

Brad
-1. There’s no sensible reason to use `-moz-outline`. This only works in Mozilla browsers and will probably stop working in future. Just use `outline`.
Daniel Cassidy
As long as we're being truthful, there is no sensible reason to do it at all. But, I see you've pointed that out in your post as well.
Brad
+3  A: 

Remove outline.

a {
    outline: none;
}
Topera
Perrfect. Thanks much
Syom
+3  A: 

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.

Daniel Cassidy