IE10 Favicon问题 [英] IE10 Favicon Issue

查看:144
本文介绍了IE10 Favicon问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用google搜索了这个问题,阅读了所有主题,完成了他们所说的话,但仍然遇到了一个问题,试图在IE10中显示一个简单的favicon.ico!

文件大小为16x16(我也尝试过32x32),并且它在Chrome,FireFox和Safari中完美运行,所以我知道我已经实施了正确的代码。



这是我到目前为止完成的工作:

1)将favicon.ico放入根文件夹

2)添加了以下代码行:

 < link rel =shortcut iconhref =http://www.barnhillmarketing.co.uk/favicon.icotype =image / x- icon> 
< link rel =iconhref =/ favicon.icotype =image / x-icon/>



<3>尝试了绝对和相对URL。


4)清除了我的互联网缓存/历史记录,并重新启动后仍然没有任何快乐。

5)在favicon生成器中再次制作图标仍然无济于事。



如果有人对此有所解决,那么这将是太棒了,因为我在我的白垩结束这个: - /如果你去 http://www.barnhillmarketing.co.uk/favicon.ico 你会看到图标显示,所以我没有想法在这里发生了什么:-(



在此先感谢,



Keith

解决方案

前几天我遇到同样的问题,如果使用版本更改了favicon的路径,它会清除所有缓存问题。 >

 < link rel =iconhref =/ favicon.ico?v = 1type =image / x-icon /> 


I've googled this issue, read all the threads, done what they have said and still I am having a problem trying to display a simple favicon.ico in IE10!

The file size is 16x16 (I have also tried 32x32) and it works perfectly in Chrome, FireFox and Safari so I know I have implemented the code right.

This is what I have done so far:

1) Placed the favicon.ico in the root folder

2) added these lines of code:

<link rel="shortcut icon" href="http://www.barnhillmarketing.co.uk/favicon.ico" type="image/x-    icon"> 
<link rel="icon" href="/favicon.ico" type="image/x-icon" />

3) Tried both absolute and relative URLs.

4) Cleared my internet cache / history and rebooted still with no joy.

5) Made the icon again in a favicon generator still to no avail.

If anyone has a fix for this then that would be fantastic as I am at my whits end with this :-/ If you go to http://www.barnhillmarketing.co.uk/favicon.ico you will see the icon shows up so I have no idea what is going on here :-(

Thanks in advance,

Keith

解决方案

I had the same problem a few days ago. If you change the path of the favicon using versions for example its clears all caching issues.

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

这篇关于IE10 Favicon问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆