homepage Welcome to WebmasterWorld Guest from 54.198.46.115
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Anchor links not displaying right in IE - CSS involved
auntpuck




msg:1214649
 3:58 pm on Oct 25, 2001 (gmt 0)

I have several web pages with links to anchors further down the page. Recently I realized that in IE 5.5 Win and IE 5 Mac, these links are displaying as visited links regardless of whether or not they have actually been clicked on. I've never had this problem with links to anchors before; the only thing different about these is that I am using CSS to control the UNvisited link color. Is this an IE bug or is there something I can put in my code to fix this? The links show up correctly in Netscape. One page that has this problem is:
[library.pfeiffer.edu...]

Thanks for any help anyone can give!

 

Xoc




msg:1214650
 4:50 pm on Oct 25, 2001 (gmt 0)

Welcome to WebmasterWorld, auntpuck.

Internet Explorer considers the fact that you have page loaded with the anchor tag on it as meaning that the link has been visited. It's how they chose to implement it. There really is nothing you can do to change it. Sorry. :(

auntpuck




msg:1214651
 5:14 pm on Oct 25, 2001 (gmt 0)

That was my first thought too, but I have other pages with links to anchors that display correctly. But then, why should I expect IE to be consistent when nothing else M$ is? :)

If this is the case, can someone tell me what to add to my CSS code to get the visited link color to be the same as the unvisited link color? I'd rather have it that way, and at least have the links readable against the background.

Thanks!

David




msg:1214652
 6:24 pm on Oct 25, 2001 (gmt 0)

You should be able to use the style sheet rule.
A:visited{color:blue}
A:link{color:blue}

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved