本文介绍了IE7在显示Favicons方面存在问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IE7的故事是什么?让它显示任何网站的favicon都存在某种问题。我访问了大量有网站的网站,并且在其他浏览器中显示效果很好。

What is the story with IE7. There is some kind of issue with getting it to display the favicon for any website. I have visited loads of websites that have favicons and they display fine in other browsers.

IE7肯定不会刷新favicon如果它已经在缓存中。我可以让它刷新,但我的网站访问者不会做很多混乱。

IE7 definitely will not refresh the favicon if it has one already in its cache. I can get it to refresh but with a great deal of messing that my website visitors are not going to do.

是否有一般性修复,我可以编入我的网页以强制访问者浏览器刷新图标?

Is there a general fix that i can code into my web pages to force a visitors browser to refresh the favicon?

John。

推荐答案

编辑母版页并在母版页的head部分添加以下行。它有一个指向您需要在网站上显示的图标的链接。

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

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

希望这适用于你,它真的对我有用。

谢谢和问候,

Anil


这篇关于IE7在显示Favicons方面存在问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 07:04