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

Home Forums CSS a:active help

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #40904

    Curious if someone can see if I’m doing something wrong here or if I’m just thinking about this the wrong way.

    What the company I’m working with wants is the links to stay “active” (the blue background) while one of the sections is highlighted. Basically it’s a series of boxes that are hidden or shown using javascript (don’t hurt me too bad on how the javascript is coded – I didn’t have a hand in that part :P)

    I’ve tried css methods but nothing is functioning. Maybe I’m just thinking about it wrong and I should be doing using jQuery to activate them?


    a:active afaik only works on click before returning to the default state. If you want there to be an active state then add a class to the “active” link after clicking it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.