IE 中不显示快捷方式图标
当我写的时候,
<link rel="shortcut icon" href="http://localhost/kino/img/clapperboard-icon.ico">
它在 IE 中不显示图标!在其他浏览器中工作正常。 你能告诉我为什么吗?谢谢
when i write
<link rel="shortcut icon" href="http://localhost/kino/img/clapperboard-icon.ico">
it doesn't show an icon in IE! works fine in other browsers.
could you tell me why? thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
favicon 在大多数浏览器中都是二等公民。您必须清除缓存,重新启动浏览器,并希望它能更新。否则,只需等待,浏览器最终会更新它。
你说你在IE5下测试?请不要。任何网站都不应测试 IE7 之前的版本。查看适用于 IE 的 Google Chrome Frame 插件。
favicon's are second-class-citizens in most browsers. You have to clear the cache, restart the browser, and hope it updates. Otherwise just wait and the browser will eventually update it.
You say you are testing in IE5? Please don't. No website should be testing anything older than IE7. Check out Google's Chrome Frame plugin for IE.
如果您不想执行所有其他操作(清除缓存+重新启动浏览器),您也可以尝试将其添加到收藏夹,然后刷新页面。它可能会起作用
You could also try adding it to favorites and then refreshing the page if you don't want to do all of the other stuff (clearing the cache + restarting the browser). It might work
如果您已为页面添加书签,请删除书签,删除浏览器缓存,刷新页面,为页面添加书签,刷新页面。它应该出现(稍后再次消失)。
If you have the page bookmarked, delete the bookmark, delete your browser cache, refresh the page, bookmark the page, refresh the page. It should appear (to disappear again later).