468,458 Members | 1,854 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,458 developers. It's quick & easy.

Favicon is not showing in IE7

Hi there,

I am using asp.net 2.0 and C# to develop my website. I would like to put a
favicon to my website, so I put the following code in the <headsection
right after <titletag in a master page:

<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon"/>

All my pages are reference to this master page. My icon file in the site
root and it's a windows icon format. The problem is that it's not showing in
IE7. I am not sure why, and wondering if I need to do something more to make
it work.

Thanks,
Mike
Jun 13 '07 #1
7 6091
On Jun 13, 8:41 pm, VancouverMike <VancouverM...@newsgroups.nospam>
wrote:
Hi there,

I am using asp.net 2.0 and C# to develop my website. I would like to put a
favicon to my website, so I put the following code in the <headsection
right after <titletag in a master page:

<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon"/>

All my pages are reference to this master page. My icon file in the site
root and it's a windows icon format. The problem is that it's not showing in
IE7. I am not sure why, and wondering if I need to do something more to make
it work.

Thanks,
Mike
Try to delete browsing history (Tools - Delete Browsing History)
http://blogs.msdn.com/jeffdav/archiv...ar-in-ie7.aspx

Jun 13 '07 #2
VancouverMike wrote:
Hi there,

I am using asp.net 2.0 and C# to develop my website. I would like to put a
favicon to my website, so I put the following code in the <headsection
right after <titletag in a master page:

<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon"/>

All my pages are reference to this master page. My icon file in the site
root and it's a windows icon format. The problem is that it's not showing in
IE7. I am not sure why, and wondering if I need to do something more to make
it work.

Thanks,
Mike
"There is no known guarantee that favicons will appear on all computers,
even on same browsers with the same versions."

http://en.wikipedia.org/wiki/Favicon

Read the guidelines to increase the chances.

--
Göran Andersson
_____
http://www.guffa.com
Jun 13 '07 #3
Thanks Alexey and Goran. I deleted all the browser history, but it's still
not showing. I am not sure if the icon has to be 32X32 and in some color
depth.

Thanks,
Mike

Jun 13 '07 #4
re:
!I am not sure if the icon has to be 32X32 and in some color depth.

A favicon should be 16 X 16 pixels with 16 colors.

IconEdit 3 can help you...and it's only $7.97 :
http://www.pcmag.com/article2/0,1895,2108216,00.asp

You can use IrfanView (freeware) to shrink one of your regular images to a
16 X 16 size, then decrease the colors to 16 and save as a ".ico" file:

http://www.irfanview.com/

You can use IrfanView to get an image down to spec, then edit it with
IconEdit 3. Remember, if you don't save it as "favicon.ico," it won't work.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"VancouverMike" <Va***********@newsgroups.nospamwrote in message
news:BA**********************************@microsof t.com...
Thanks Alexey and Goran. I deleted all the browser history, but it's still
not showing. I am not sure if the icon has to be 32X32 and in some color
depth.

Thanks,
Mike

Jun 14 '07 #5
Thanks Juan. I got the IrfanView software, and found it's a very powerful
tool. Thanks for directing me to it.

I resized my favicon.ico file to 32X32, but it still not showing on my
computer. It does show up in some other people's computers, so I guess it's
just a cache issue. Right now I am not very concerned about it.

Thanks very much to everybody that offerred your help.

Mike

Jun 14 '07 #6
re:
!I resized my favicon.ico file to 32X32

Try resizing it to 16x16.
That's the default size format for .ico files.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"VancouverMike" <Va***********@newsgroups.nospamwrote in message
news:DB**********************************@microsof t.com...
Thanks Juan. I got the IrfanView software, and found it's a very powerful
tool. Thanks for directing me to it.
I resized my favicon.ico file to 32X32, but it still not showing on my
computer. It does show up in some other people's computers, so I guess it's
just a cache issue. Right now I am not very concerned about it.
Thanks very much to everybody that offerred your help.
Mike

Jun 14 '07 #7
If you're using IE, the browser will cache its' own icon with the shortcut
when there is no favicon available. It will eventually replace the icon in
the cache, or you can clean your browser cache and get it to show up
immediately.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"VancouverMike" <Va***********@newsgroups.nospamwrote in message
news:DB**********************************@microsof t.com...
Thanks Juan. I got the IrfanView software, and found it's a very powerful
tool. Thanks for directing me to it.

I resized my favicon.ico file to 32X32, but it still not showing on my
computer. It does show up in some other people's computers, so I guess
it's
just a cache issue. Right now I am not very concerned about it.

Thanks very much to everybody that offerred your help.

Mike

Jun 15 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Roamer | last post: by
7 posts views Thread by Bart | last post: by
4 posts views Thread by Chameleon | last post: by
15 posts views Thread by BT | last post: by
2 posts views Thread by alice | last post: by
2 posts views Thread by nathanaccet | last post: by
reply views Thread by Guy Macon | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.