IE visited link problem

Discussion in 'HTML & Website Design' started by stevestuff, Jul 16, 2010.

  1. #1
    I came here today because I have a problem with visited links in IE8 - just 2 pages of the site: Patents and Trademarks. I even placed the class in a span at each link!! All the other pages work fine. They don't change to what my style sheet declares. The page works in Firefox, Opera, Safari, and Chrome.

    Here's the code, placed in the style sheet, and in the head of both these pages:

    .bodyLinks a {
    	text-decoration: none;
    	color: #900;
    }
    .bodyLinks a:visited {
    	text-decoration: none;
    	color: #999; !important
    }
    .bodyLinks a:hover {
    	text-decoration: underline;
    	color: #00f;
    }
    Code (markup):
    Funny thing, while designing these pages, I loaded Trademarks from my hard drive, and the links worked sometimes. AARG!!!

    Anybody got a solution?
     
    stevestuff, Jul 16, 2010 IP
  2. simplyg123

    simplyg123 Well-Known Member

    Messages:
    3,855
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    175
    #2
    Not sure if I am missing something Steve, but it seems to be working fine on IE8.

    [​IMG]
     
    simplyg123, Jul 16, 2010 IP
  3. simplyg123

    simplyg123 Well-Known Member

    Messages:
    3,855
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    175
    #3
    just noticed however, when refreshing, the visited link reverts back
     
    simplyg123, Jul 16, 2010 IP
  4. stevestuff

    stevestuff Well-Known Member

    Messages:
    631
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    185
    #4
    So it's said by others, too. Guess I'll leave it as is. thx!
     
    stevestuff, Jul 16, 2010 IP
  5. nimonogi

    nimonogi Active Member

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #5
    Clear your browser's cache and check again.
     
    nimonogi, Jul 17, 2010 IP
  6. kjb

    kjb Greenhorn

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    Have you tried changing:

    .bodyLinks a {
    text-decoration: none;
    color: #900;
    }


    to

    .bodyLinks a:link {
    text-decoration: none;
    color: #900;
    }

    ? This will clearly define the a and might tell the suspect browsers specifically what you're after. I mean the first should work, but you know what browsers are like.

    Hope this helps.
     
    kjb, Jul 17, 2010 IP