PDA

View Full Version : Navigation - a:focus only works after 2nd click


Tanzawa
11-26-2007, 06:40 PM
Hi,

The #navigation a:focus only works (highlights current page) after two clicks -- then works beautifully after that. I've tried reordering my CSS, but nothing is working. Any ideas?

Thanks,

Michi

Cary
11-27-2007, 03:49 AM
Can you give us a page url to look at? Are you using this order?

a:link
a:visited
a:focus
a:hover
a:active

domedia
11-27-2007, 01:44 PM
a:focus is not for highlighters current page. It's for elements that has the browser focus, for example that it is tabbed to. Go to any webpage and start hitting the tab key. You'll see different links on the page gets focus. You can style these links with :focus.