We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26182
    • 164 Posts
    Hi,

    I was just wondering if anyone had any idea about how to stop internet explorer from displaying bold underlines on links. I have tried using text-decoration:none; in a variety of ways. None of which have worked. They work for Mozilla but not for IE.

    Any help would be greatly appreciated.

    Thankyou smiley

    Cheers

    Sarah
      • 34162
      • 1 Posts
      Hello Sarah.

      Can you post your CSS for the links (including parent references e.g. Parent => Child) please or post your URL
        • 26182
        • 164 Posts
        Hi,

        I would but it would be useless cause they are all stored on a private, secure server. So you can’t access the files from outside the place I work at sad I could post up the individual .css files but there’s probably about 10 and a few java scripts...

        Sarah
          • 34162
          • 1 Posts
          There is a typical problem with IE where referencing Parent & Child elements or not writing the full CSS statement:

          The following works in standards conform browsers:
          #navi a{text-decoration:none;}
          OR
          #PARENT #CHILD a{text-decoration:none;}

          The following works in Internet Explorer:
          #navi a:link, #navi a:visited, #navi a:hover{text-decoration:none;}
          OR
          #PARENT #CHILD a:link, #PARENT #CHILD a:visited, #PARENT #CHILD a:hover{text-decoration:none;}

          Hope it helps smiley
            • 26182
            • 164 Posts
            thanks for your help. i managed to sort it out smiley
              • 33372
              • 1,611 Posts
              Quote from: gsx750r at Mar 20, 2007, 05:48 PM

              There is a typical problem with IE where referencing Parent & Child elements or not writing the full CSS statement:

              The following works in standards conform browsers:
              #navi a{text-decoration:none;}
              OR
              #PARENT #CHILD a{text-decoration:none;}

              The following works in Internet Explorer:
              #navi a:link, #navi a:visited, #navi a:hover{text-decoration:none;}
              OR
              #PARENT #CHILD a:link, #PARENT #CHILD a:visited, #PARENT #CHILD a:hover{text-decoration:none;}

              Hope it helps smiley
              These pseudo-classes ( :link, :visited, :hover, etc.) were mutually exclusive in CSS 1, but as of CSS 2 they are not and normal cascading rules apply (e.g., if you declare :hover before :link you can cancel out the hover style).
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 26182
                • 164 Posts
                Thanks for that info smiley

                I have another question. IE isn’t displaying some links like it should. These links are supposed to be displayed to the far right of the page container. I have given the links a class and set the property position to right. It displays fine in Mozilla but will not display correctly in IE. Any help or suggestions would be greatly appreciated.

                Thanks,

                Sarah
                  • 33372
                  • 1,611 Posts
                  Can you please copy and paste your CSS here? It’s hard to know what might be going on without it. And it also would be helpful to know what version of IE you’re testing on (there are many differences between 6 and 7, and you don’t even want to know about older versions).
                    "Things are not what they appear to be; nor are they otherwise." - Buddha

                    "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                    Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Quote from: ZAP at Mar 20, 2007, 09:04 PM

                    ... and you don’t even want to know about older versions).
                    I don’t even want to know about 6 and 7 tongue
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                      • 26182
                      • 164 Posts
                      i managed to fix the error smiley i’m now getting formatting issues ha ha i hate IE