Forum Moderators: open

Message Too Old, No Replies

Problems displaying favicon in IE7

Differences between IE7 and FF

         

dwighty

11:18 am on Dec 14, 2006 (gmt 0)

10+ Year Member



I have come across a bit of a strange issue.

On one of the sites I am working on the favicon works fine in FF but i can not for the life of me get it to display in IE7!

I have included a favicon from another site and that displays.

The icon i have is 16px by 16px and is included as follows:

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

Anyone got any ideas or come across this thenselves?

phranque

11:31 am on Dec 14, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



try this:
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

dwighty

11:42 am on Dec 14, 2006 (gmt 0)

10+ Year Member



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

I have tried this and still the same. If i replace the favicon.ico with another image from another site i visit and that displays.

Is this just strange?

Robin_reala

12:39 pm on Dec 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How have you made your .ico?

dwighty

12:53 pm on Dec 14, 2006 (gmt 0)

10+ Year Member



It was a quick job using ... Paint!

Did not think that would cause a problem tho...

phranque

1:17 pm on Dec 14, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



i didn't think paint supported ico types.
naming it favicon.ico isn't enough...

Robin_reala

2:15 pm on Dec 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you're happy with the command line then I'd recommend looking for an app called png2ico. Otherwise there are various favicon websites around that'll help you make one. You can't just rename a gif or jpg to .ico though, as they're different file formats.

dwighty

9:19 am on Dec 15, 2006 (gmt 0)

10+ Year Member



Thanks guys.

Will do that.

afrojojo

4:16 am on Dec 19, 2006 (gmt 0)

jd76

4:04 pm on Jan 5, 2007 (gmt 0)

10+ Year Member



ok...used the online .ico generator and cleared my cache and restarted IE7.

Now websites that did have the favicon.ico file displayed aren't, and I still don't have my site displaying the favicon.ico...

I am correct in that if I have the file in the root directory, then it will be displayed even if I don't have the markup in the html file code?

[edited by: encyclo at 4:06 pm (utc) on Jan. 5, 2007]
[edit reason] no links to personal sites please, see forum charter [/edit]