Jim Miller
Jim Miller

Reputation: 3329

Can I disable the blue highlighting in YUI menus on Safari and Chrome?

I'm getting a sort of glow-y blueish rollover highlighting of my YUI menu items when I'm in Safari and Chrome (but not Firefox). Cool though this is, it's not consistent with the rest of my site's highlighting, and I'd like to disable it. I'm guessing this is a webkit css property, but, if it is, haven't found the one(s) that control it. Can anyone point me to the right place? Thanks!

Upvotes: 2

Views: 493

Answers (2)

captainrad
captainrad

Reputation: 3830

Another simple tweak instead of this would be to use something like this:

 outline-style:none;

you can apply this to something like this...

 #element:focus {
     outline-style:none;
 }

Upvotes: 0

Camilo Díaz Repka
Camilo Díaz Repka

Reputation: 4815

Try using this CSS rule with the appropiate selector:

outline-width:0;

Upvotes: 3

Related Questions