Log in

View Full Version : Favicon - displays in Firefox, but not IE



bobboli
09-01-2005, 06:34 PM
My favicon will not display in Internet Explorer, but is fine (both Address and Bookmarks) in Firefox.

I'm using this code, just after the title tags, on each page in my root directory:
<LINK REL="SHORTCUT ICON" HREF="favicon.ico"> An absolute URL works fine in Firefox too, but not in IE.

The image is 16x16 and in the root directory, so I can't imagine it's the problem.

Any suggestions? Thanks.

Twey
09-01-2005, 07:35 PM
You should use:
<link rel="icon" type="image/x-icon" href="/favicon.ico">

IE's display of favicons is erratic at best. You'll find it comes up at some point.

jscheuer1
09-01-2005, 08:35 PM
With IE it really doesn't matter what currently valid link statement you use. If the favicon is in the root of the domain, no link statement is needed for any browser that I know of. IE is erratic in its support of the favicon though. A trick that usually works is to tug a few times at the default icon in the address bar with the mouse, using a drag and drop motion. But, with or without this trick, once IE does recognize the favicon, sooner or later (probably sooner) it will eventually stop recognizing it.

bobboli
09-01-2005, 08:56 PM
This did work in IE (using version 6) but just on the index.html page. It shows the favicon in both Address and Favorites now.

All the other pages still show the default icon. All still displays just fine in Firefox, which I am liking better all the time...

Any other thoughts? Thanks for your first reply!

jscheuer1
09-01-2005, 09:06 PM
Just a coincidence, it will disappear soon enough from IE.