• Hi,

    I have built a simple wp site here: https://bit.ly/gWs9O3
    I have set up my buttons in my style.css file, but the rollovers (a:hover) styles do not seem to be working, on any links. I can’t figure out what I’ve done wrong.

    Any ideas?!

    Thanks
    David

    Here is the css I’ve used for my h2 links:

    h2 {
    font-family: Verdana, Arial, “Helvetica”, sans-serif;
    font-size: 14px;
    line-height : 15px;
    color: #999999;
    text-align : left;
    font-weight: bold;
    text-decoration : none;
    padding-bottom: 10px;
    padding-top: 10px;
    }

    h2 a:link {
    font-family: Verdana, Arial, “Helvetica”, sans-serif;
    text-decoration : none;
    color: #999999;
    }

    h2 a:hover {
    font-family: Verdana, Arial, “Helvetica”, sans-serif;
    text-decoration : none;
    color: #666666;
    }

    h2 a:active {
    font-family: Verdana, Arial, “Helvetica”, sans-serif;
    text-decoration : none;
    color: #999999;
    }

    h2 a:visited {
    font-family: Verdana, Arial, “Helvetica”, sans-serif;
    text-decoration : none;
    color: #999999;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS help – a:hover rollovers not working’ is closed to new replies.