Favicon无法在Internet Explorer中工作 [英] Favicon not working in Internet Explorer

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

问题描述

我已经做了我能找到的所有工作,但只在IE上它不起作用。

I've done everything I could find to make favicon work, but only on IE it doesn't work.

这是在< head>

<link rel="shortcut icon" href="//www.site.com/img/favicon.ico">

我尝试使用favicon.co.uk和favicon-generator.org/创建一个favicon,但是在IE浏览器中无效。

I tried to create a favicon with favicon.co.uk and favicon-generator.org/, but nothing works in IE.

这是16x16和.ico文件。

It's 16x16 and a .ico file.

在Google Chrome和Firefox中,它正在运行很好。

In google Chrome and Firefox it's working just fine.

在IE中添加书签时,它也会显示图标。但不在顶栏。

When bookmarking in IE, it's also showing the icon. But not in the top bar.

这里有什么问题?

编辑:

我也试过这个:

<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">


推荐答案

感兴趣的人:

现在可以使用,我尝试了另一个网站来创建图标并且它有效。

It works now, I tried a different website to create the favicon and it worked.

<link rel="shortcut icon" href="http://www.url.com/img/favicon.ico" type="image/x-icon">

这篇关于Favicon无法在Internet Explorer中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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