Simon
Simon

Reputation: 23159

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

Any ideas?

Thanks much

Upvotes: 8

Views: 14901

Answers (3)

Daniel Cassidy
Daniel Cassidy

Reputation: 25657

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.

Upvotes: 3

Topera
Topera

Reputation: 12389

Remove outline.

a {
    outline: none;
}

Upvotes: 21

Brad
Brad

Reputation: 163612

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

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

Upvotes: 2

Related Questions