Click here to Skip to main content
15,898,675 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to add favicon icon in ASP.NET site in IE.
HTML
<link id="Link1" rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />  
<link id="Link2" rel="icon" href="/favicon.ico" type="image/ico" />

this code is used on my site but icon display only firefox not on IE. why?
Posted
Updated 2-Apr-12 3:23am
v2

1 solution

Perhaps the problem stays in the icon itself. There are some limitations about the format of the icon itself.
Please make sure that your icon in the correct size and format. Because a FavIcon.ico for Internet Explorer must be square in size, .ico format and at least 16 x 16 pixels.

Check here:

http://en.wikipedia.org/wiki/Favicon[^]

You can also try using a png file instead of ico file.

http://www.w3.org/2005/10/howto-favicon[^]

Cheers
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900