Jump to content

Link Display Issue In Ie7


stringsy

Recommended Posts

I have text-decoration: none for links in my code which works fine in Google Chrome, Firefox and IE9 but in IE7 some links randomly display as underlined. Any way of fixing this? Here's the code: a:link {color: #42413C;text-decoration: none;}a:visited {color: #42413C;}a:active, a:focus {text-decoration: none;}a:hover {color: #980000;} Thanks

Link to comment
Share on other sites

Given your code, the visited links would be underlined because you haven't told them not to be. Rather than using an "a:link" selector, I recommend just using "a" on its own, to apply the style to the link in every possible state.

a {  text-decoration: none;}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...