Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problems with links in css

    Hi all,

    I am having problems with a specified colour for my links in css.

    I have specified a grey for my a:link, a:active and a:visited - and i have specified a underlined blue for my a:hover

    The problem is that when you rollover a visited link it does not react, i.e it does turn blue and underlined.

    i have seen a site (http://www.interactiveser.com/af/isl/index.html )where they have allowed visited links to react to a rollover and don't see why my pages will not do so.

    I hope this makes sense to someone!!

    Thanks,
    Donal

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    I just use a{ and a:hover{ never bother with active and visited

  • #3
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for that - but if i specify nothing for visited or active will they default to ms iexplorers colours?

  • #4
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    No, it'll go to the colour of a{

  • #5
    Regular Coder
    Join Date
    Sep 2002
    Location
    self.location
    Posts
    181
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nightfire: a:visited will adopt a:hover's color only while actually hovering of course... otherwise it will have the IE default color

    Donal, check the order of your statements - they should be:

    a:link { etc}
    a:visited { etc}
    a:active { etc}
    a:hover { etc}

    I suspect you may have reversed the order of a:visited and a:hover ...


  •  

    Posting Permissions

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