cgpa2.17
cgpa2.17

Reputation: 319

'selected effect' on jquery tab (or other stuffs)

The 'selector effect' which is an orange border (can be seen here: http://jqueryui.com/tabs/#default) is annoying.. where does that come from? How to get rid of it?

Upvotes: 0

Views: 35

Answers (2)

danchet
danchet

Reputation: 410

I assume you're speaking about the outline a browser will add on anchor elements. Blue orange or whatever, depending on the browser.

This is a CSS fix.

.class-name {
outline: 0;
}

Please note: Removing outlines in this manner can prevent visually impaired users, or users without a mouse from accessing your content.

Upvotes: 0

Zach Saucier
Zach Saucier

Reputation: 25994

Try adding this to the CSS

:focus {
    outline: 0;
}

if it doesn't work you may have to declare

:focus {
    outline: 0 !important;
}

Upvotes: 1

Related Questions