View Full Version : IE displays link incorrectly

09-28-2007, 12:19 AM
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?

09-28-2007, 12:49 AM
If they specifically style the link for a pdf, such as this:

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.