Forums

a:active not working, but a:hover is (3 posts)

  1. WebBizGeek
    Member
    Posted 3 years ago #

    Maybe it is just late, but I can't figure out why my a:active CSS is not working in the main menu. The a:hover is working and changing font color to white. But the a:active isn't.

    Here's the CSS:

    div#header2_left a:hover, div#header2_left a:active {
    color: #FFF;
    }

    Here's a page where it is not working.

    http://www.webbizgeek.com/about-webbizgeek/

    If you mouseover, you get white, but it should be white as well while you are sitting on the page, no?

    What am I doing wrong? Any assistance would be appreciated.

    Thank you.

  2. Avaz Ibragimov
    Member
    Posted 3 years ago #

  3. WebBizGeek
    Member
    Posted 3 years ago #

    Ah, very good! Thank you. That got me going in the right direction.

    Quite a lot more complicated than I would have imagined, but I guess that's what's involved in building a dynamic menu system - something I've never done before.

    And after a couple hours work, it is working very well now with some nice added CSS styling, so quite worthwhile.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.