Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS active / current menu Re: active / current menu

#54344
Chris Coyier
Keymaster

a:active (with a colon) is a pseudo-selector that indicates the link is currently being clicked on or has been "tabbed" to. In your code, your link item has a ID of current, so use that:

Code:
#menu li a#current {
color:#AB5667;
font-family:arial;
}