Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE displays link incorrectly

    Hi all,

    I'm currently working with a subsection of a website. This section has a different link color than the rest of the site, defined in a css file which is loaded after the main css file and should presumably override it. This works fine in Firefox and in links to html files in IE. However, when I try to link to a pdf file, the link is the color of the main site's links instead of the color of all of the other links in the subsection.

    I presume that it's some sort of weird bug in IE, but I couldn't find mention of it anywhere. Does anybody have any idea what could cause this problem?

  • #2
    New Coder
    Join Date
    Aug 2007
    Posts
    58
    Thanks
    2
    Thanked 6 Times in 6 Posts
    If they specifically style the link for a pdf, such as this:
    Code:
    a[href $='.pdf'] {
    	color: #f00;
    }
    then you will have to over-ride it. If that isn't the case, I would have to see the site to help you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •