aneuryzm
aneuryzm

Reputation: 64834

HTML: how can I remove this dotted line?

I'm using Drupal for a website, and I've a link "Unselect All" to deselect all items.

How can I remove the dotted line around "Unselect All" when I click on it ?????

Check this link.

thanks

Upvotes: 1

Views: 2363

Answers (2)

Sarfraz
Sarfraz

Reputation: 382686

I simply set outline to none for all and any link:

a {
 outline: none;
}

Side Note: This property does not work however in IE < 8.

Upvotes: 1

roryf
roryf

Reputation: 30160

a.bef-toggle:link, a.bef-toggle:visited, a.bef-toggle:active {
    outline: none;
}

Please take heed of David's comments on the question though, this has accessibility side effects that you need to be aware of.

Upvotes: 2

Related Questions