Jump to content
Sign in to follow this  
stringsy

Link Display Issue In Ie7

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

Share this post


Link to post
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;}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...