开发者

IE6 - why the favicon does not work?

开发者 https://www.devze.com 2023-01-20 16:12 出处:网络
I made a favicon for my website. Naturally, on IE I have som开发者_如何学Pythone trouble :) Why doesn\'t this work?

I made a favicon for my website. Naturally, on IE I have som开发者_如何学Pythone trouble :)

Why doesn't this work?

<link rel="icon" href="./img/iconcab.ico" />

Dunno. Any ideas? Thanks :)


I remember dealing with favicons before and I'm pretty sure IE6 REQUIRES the icon file to be called favicon.ico and be placed in the root directory of your website (or at least in the same directory of the page you're trying to access). I may be remembering it wrong but it could be worth a try.


Try specifying the type type="image/ico"

Does it work with other browser?

Is the path correct?


ie6 needs a favicon to be a true icon file. not a png pretending to be an icon. use irfanview to make it inta a real icon, 16x16

also, it needs to be referenced within the same dir or root dir.

favicons used to give me hell with ie6.

usually they only showed up after bookmarking or dumping the entire cache.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号