Such a big issue for a very small graphic!
This problem with a browser not showing the favicon.ico file can be caused by several issues which, incidentally, are not IE6 alone issues as the favicon.ico image has been supported in IE since IE5.
Currently, all versions of the major browsers support favicons, including Internet Explorer 5/6+, Firefox 1+, Mozilla 1+, Netscape 7+, Opera 7+, Konqueror 3+ and Safari.
Apparently MS invented favorite icons in 1999 to allow small images to display next to an entry in the browser's favorites, hence the file name favicon.ico.
I remember from your previous post on this subject that you created a
vector graphic which may be the sole reason that IE is not rendering it - until recently alpha channeled graphics failed in IE unless a fix was included - Google for this info.
BTW IE7 and newer should be able to display alpha channel and vector graphics without issue.
This link will perhaps verify your favicon.ico file:
http://www.html-kit.com/favicon/validator/
Try changing the file back to a 16 X 16 bitmap image (
or create another favicon.ico in 16 x 16 bitmap format) and see if it helps - and make sure if using an icon editor that it does not also store other resolutions in the same file (
several editors do and this is a no-no in IE), which should be a relatively small sized file of say no more than 1k or 2k at most (
some browser settings can change this value, not sure off hand which ones) and is possibly an indication that the file does not have other resolutions included - large file indicates other resolutions are included and will not render in time in IE and some other browsers - this is from personal experience.
Also try adding the full address in the link
href="http://blah.blah/favicon.ico" and make sure it is in the same root web site directory (
public_html) as the htm(l) files.
Remember the favicon.ico file is stored in the IE Temporary Internet Files folder on a PC, so at a Cafe this may be flushed or have different IE settings than your home PC.
Have you declared the web page code as XHTML and if so, is it error free - try the
W3C Validation site for error checking.
Here are few different types of html tags you can try:
XHTML:
<link rel="icon" type="image/ico" href="http://example.com/favicon.ico" />
HTML - this code can be added below your existing favicon link code:
<link rel="icon" type="image/ico" href="http://example.com/favicon.ico">
More tags and both can be used together:
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
Nothing wrong with including as many variants of the
rel link tag as possible which may help with this issue in most browsers out there in the wild - those tags that are not needed will be ignored by a browser.
This from a
Blog and
note the / in front of the file name which is another twist:
Web Devs - Favicon not showing up in IE
I found a stupid solution on the internet today:
<link rel="shortcut icon" href="/favicon.ico?">
The ? is the key - just the link didn't do it.
I found these references in my own K Base (
sorry the sources are not available) which also might solve your problem.
"First, bookmark the page containing the favicon.ico link ref. i.e. The index.htm(l) page. Refresh the URL within the address bar and the favicon will appear.
If it does not, it is probably because you have bookmarked the page before and therefore you will need to empty the browser cache and delete the previous bookmarked page. Once you have removed all previous references to the index.htm(l) page. Go through the process of bookmarking again, refreshing, and you should see your favicon in 16x16 px glory!"
And this:
"Drag the generic IE favicon from the address bar into an open area - don't let go, then drag it back to the address bar and the favicon will appear - it's a known glitch."
I just tested this drag fix in IE6 that I keep for testing web site designs.
It worked on a site that at first only displayed the generic icon but then after the above drag fix it displayed the correct favicon.ico file for the web site - the mind boggles.
And this:
"Favicon and IE are a poor match. Hopefully, this will be addressed in the next release of IE. Sometimes you can coax IE into displaying the favicon by gently tugging at the default icon in the address bar using a drag and drop motion. Even once you get IE to display the favicon, it is likely to stop doing so at any time without notice.
clear history cache
clear document cache
IE should now cooperate if you visit the site again and bookmark it."
So as you can see, even though MS invented the darn thing, IE browser's have always had strange issues with displaying it.
Regards,
Rocky