Results 1 to 2 of 2

Thread: Anchor colour after visit

  1. #1
    Join Date
    Aug 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Anchor colour after visit

    Hi there

    I have added anchors on my webpages that take a visitor to various places on that page, to save them scrolling down. However, these links come up as purple, as if they have already been visited. I have tried various things in CSS to stop this. eg:
    .anchor a:visited{ color: #410EC2;}

    ..but with no luck. Can anyone help?

    Many thanks in advance.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Is the class of the link that you are trying to keep from changing named anchor? If not, add that class name to the links or simply take of the .anchor part of the css.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •