Favicon doesn't show in all pages on IE?

doctype, favicon, html

Solution

You have tagged the question with the "doctype" tag. This is a clue of what might be happening...

I am confident that the issue is related to the malformed HTML (or XHTML) tags in the document which IE fails to render the favicon. I myself already had lots of "unrelated" issues due to malformed contents. I suppose, in this case, the document which fails to render the favicon is triggering a kind-of "quirks mode" in IE.

Unfortunately, there are so many issues with both documents which turns difficult to find out what exactly is the one triggering the specific IE "quirks mode" which causes the favicon problem.

The document where favicon works raises 61 errors and 3 warnings in the W3C markup validation service.

The document where favicon does not work in IE raises 98 errors and 25 warnings in the W3C markup validation service.

So, probably it is one of these additional 37 errors and 22 warnings at the failing favicon document which makes IE too much confused and incapable of parsing the thing as a whole.

I have not dived in the errors and warnings, because they are too many. But I'm sure that if the validation passed, favicon would be appearing at both pages.

Problem

The favicon does not work on some pages in IE. But the favicon works on these pages as well in other browsers (tested in Firefox and Chrome). Pages not showing the favicon in IE: link - favicon error in IE Pages showing the favicon in IE: link - favicon works

Original source