Try:
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
See:
http://en.wikipedia.org/wiki/Favicon
Printable View
Try:
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
See:
http://en.wikipedia.org/wiki/Favicon
I've done some testing and IE8 will only accept a true Windows icon (.ico) file for a favorite icon.
I made some test pages using ico, png, and gif files as favorite icons.
http://btaylor.50megs.com/Test-Favicon/index.htm
Use the three navbar buttons at the top of the page to switch to the different types of files used for favicon.
Firefox 3.0.10 shows all three favicons.
IE8 will only show a favicon for the page using the .ico file.
Thanks Steven, you have figuratively "slapped" the side of my head (which needed it).;)
I will update the test pages with the correct image type for the three files to see if IE will accept the png and gif images as a favicon.
Unfortunately the change to reference image/png and image/gif on the appropriate page did not allow IE to 'see' the favicon file.
I cleared my browser caché between each page and that did not help. :(
OKay so I tried saving my "M" as an "ico" file using "ICOFX".
It still does not work with IE8 but it does work with FF.:confused:
I'll continue to search the web for possible solution and report back if I find one. Thanks all for your help. Peter
From the source of your page:
<link rel="icon" type="image/ico" href="micon"/>
You forgot something Peter :(
Try this instead:
<link rel="icon" type="image/ico" href="micon.ico">
Here is the line of code that works with IE8 and FF.
<link rel="icon" type="image/ico" href="favicon"/>
It works on all my web pages with IE8 (meaning the blue M shows up on the tabs on each of my pages) and only on my home page with FF. Does that make sense?
Steve, when I had href="favicon.ico" it did not work. When I removed the .ico, it worked. :O
Also, I think I read somewhere on Talkgraphics that the favicon had to be named "favicon" not some other arbitrary name. So I changed the file name to favicon.
Don't know if this makes any sense, can someone out there who knows code explain it?
Will some of you who have IE8 please try it? www.mainlands.org
Thank you, Peter
Peter,
Try this:
<link rel="SHORTCUT ICON" href="myicon.ico">
See it working here in all browsers
No need to add to favorites in IE8.
Attachment 65475
Hi, Grampy Peter,
In post #29 above I described a peculiar difference in IE8; it does not display the icon when loading the html file from my hard disk, but when the same html file is loaded from my web site IE8 does display it.
Have you tried from your uploaded file?
Regards,
amateur.