Links underlined in one browser and not in another

by 11 replies
13
Hi,

On one of the websites I manage, www.timesheetreporter.com, the links are not underlined in Internet Explorer. This is the way the site is supposed to look like.
However, when I open the site in Safari (Mac) some (not all) of the links are underlined.

Can anybody explain why, and perhaps what I should change, so that they are not underlined in all browsers?

Thanks and have a nice weekend.

Best regards,
Thomas
#programming #browser #links #underlined
  • I see that you already have 'text-decoration:none' set for element.style.

    But try also adding this to your CSS file...

    HTML Code:
    a:link, a:visited {text-decoration: none;}
    • [1] reply
    • HTML Code:
      a:link, a:visited {text-decoration: none;}
      Yep, that will do it. At least on the homepage. I haven't tested it anywhere else.

      If it still doesn't work in some areas, try this:

      HTML Code:
      a:link, a:visited { text-decoration: none !important; }
      You may also want to add a hover effect to improve the usability:

      HTML Code:
      a:hover { text-decoration: underline; }
      And you may want to consider removing the titles from links, especially in the menu.
  • Crap, you better call Apple and ask them what the heck is going on.
    • [2] replies
    • Sometimes, when I'm bored, I call Microsoft and Apple and make fun of them for making such terrible web browsers.
      • [1] reply
    • hahaha.... right, I agree with you.


      solution from dconjar should fix your problem.
  • Thanks, guys. I'll look into that (including calling Apple and MS).

    Best regards,
    Thomas
  • Friend,
    If its not working in IE then "!important;"parameter in css is missing.
    Apply "
    !important;" and it will fix your problem
  • Thanks.

Next Topics on Trending Feed