Firefox不显示图标 [英] Firefox doesn't show favicon
问题描述
我创建了favicon.ico文件并将其声明在我的HTML头标记中:
< link type =image / x-iconhref =favicon.icorel =icon/>
< link type =image / x-iconhref =favicon.ico =shortcut icon/>
IE 8和Opera处理它很棒,但FireFox甚至不会尝试加载它(正如我从我的Fiddler调试代理)。我试过很多不同的类型(image / ico等)和href params但没有运气。
我错过了什么?
与浏览器中的大部分内容一样,favicons(或缺少它)是缓存的常用候选项。
尝试清除浏览器缓存。
在Mozilla Firefox中,键盘快捷键至 重新加载(覆盖缓存) 为
I created favicon.ico file and declared it in my HTML head tag:
<link type="image/x-icon" href="favicon.ico" rel="icon" />
<link type="image/x-icon" href="favicon.ico" rel="shortcut icon" />
IE 8 and Opera handle it great but FireFox does not even try to load it (as I see from my Fiddler debug proxy). I've tried many different type (image/ico etc.) and href params but no luck.
What did I miss?
Like most things in the browser, favicons (or lack thereof) are common candidates for caching.
Try clearing your browser cache.
In Mozilla Firefox, the keyboard shortcut to "Reload (override cache)" is
- Ctrl + F5 OR
- Ctrl + Shift + R
这篇关于Firefox不显示图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!