473,792 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6268
On Jun 13, 8:41 pm, VancouverMike <VancouverM...@ newsgroups.nosp am>
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.ic o," 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/
=============== =============== ========
"VancouverM ike" <Va***********@ newsgroups.nosp amwrote in message
news:BA******** *************** ***********@mic rosoft.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/
=============== =============== ========
"VancouverM ike" <Va***********@ newsgroups.nosp amwrote in message
news:DB******** *************** ***********@mic rosoft.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

"VancouverM ike" <Va***********@ newsgroups.nosp amwrote in message
news:DB******** *************** ***********@mic rosoft.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
14170
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
5
11677
by: Roamer | last post by:
Can anyone tell me why my favicon.ico is no longer appearing in IE6, but is in NS7.1. It always used to. See http://rmhh.co.uk/ TIA
7
5025
by: Bart | last post by:
Hi there, If I use frames, should a reference to the favicon.ico (like: <link rel="shortcut icon" href="pictures/favicon.ico" type="image/x-icon">) be placed on _every page_, or is one reference in the index.htm (top-frame) enough. I'm asking this question because I had a reference in my top-frame only, wich seemed to work OK (the favicon showd in the adress-bar in all frames), but all of a sudden the favicon won't show anymore in the
4
2959
by: Chameleon | last post by:
the extension of favicon MUST BE ico? what if I use a 16x16 favicon.png?
15
2914
by: BT | last post by:
I'm have a problem showing a favicon in ver 1.7.10. It shows up correctly in the address bar, but is missing from the tab. I've tried each of these HTML 'statements' to add the favicon to the page, but no luck: <link rel="shortcut icon" href="/favicon.ico" > <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> FWIW, it seems to render OK in IE v6.0. I haven't tried it in FFox 2.0 yet, but I'll need it to work there...
2
4211
by: alice | last post by:
I'm trying to create a favicon which I've done before, and it just won't show up. I've even saved the file as a gif and entered the URL of where the file is according to my FTP program, and I get a File Cannot Be Found error. I've copied the pixels from the file and pasted them into a favicon that is working and showing up, renamed it by just adding a number to the end, and still it won't show up, either as an .ico or a .gif. So I've...
2
2046
by: nathanaccet | last post by:
when ever i opened google,yahoo in IE6 the favicon is showing in the IE6 tab and addressbar. how to make my favicon in ie6 tab and addressbar. In mozila and IE7 the favicon is showing in the tab and address bar
4
3054
by: mistral | last post by:
Does it possible change favicon icon depending on browser type: display favicon.ico for Internet Explorer browsers, and favicon.gif for the rest browsers? Problem is that ugly MSIE can display only .ICO favicons, whereas other browsers support any favicon type - gif, png, jpg. Since gif favicons has much better quality than ico file, I'm wondering does it possible sort browsers with javascript and show appropriate favicon type for...
0
2797
by: Guy Macon | last post by:
Moon wrote: It isn't a question of relative vs. full URL paths in your meta tags. It is a question of following the paths (relative or full URL) in your meta tags vs. not reading the meta tags at all and just looking for the favicon in the root. The standard behaviour is defined here: http://www.w3.org/2005/10/howto-favicon ] (The examples have full URLs but of course relative URLs
0
10211
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.