在IE中显示Fevicon图标 [英] Display fevicon icon in IE

查看:181
本文介绍了在IE中显示Fevicon图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在IE的ASP.NET网站中添加收藏夹图标.

How to add favicon icon in ASP.NET site in IE.

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


此代码在我的网站上使用,但图标仅在IE上不显示Firefox.为什么?


this code is used on my site but icon display only firefox not on IE. why?

推荐答案

问题可能出在图标本身上.图标本身的格式有一些限制.
请确保您的图标使用正确的尺寸和格式.因为用于Internet Explorer的FavIcon.ico必须为正方形,.ico格式,并且至少16 x 16像素.

检查这里:

http://en.wikipedia.org/wiki/Favicon [ http://www.w3.org/2005/10/howto-favicon [ ^ ]

干杯
Perhaps the problem stays in the icon itself. There are some limitations about the format of the icon itself.
Please make sure that your icon in the correct size and format. Because a FavIcon.ico for Internet Explorer must be square in size, .ico format and at least 16 x 16 pixels.

Check here:

http://en.wikipedia.org/wiki/Favicon[^]

You can also try using a png file instead of ico file.

http://www.w3.org/2005/10/howto-favicon[^]

Cheers


这篇关于在IE中显示Fevicon图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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