Favicon没有显示,我的图标不好 [英] Favicon not showing, my icon is no good

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

问题描述

如果我从另一个网站复制一个网站并进行测试,我可以使用网站图标。但我自己在IE8 / Chrome中不起作用。 Mine是由Visual Studio创建的32x32 24位图标。我似乎总是有问题让图标正常工作,我应该使用什么?我认为我可以将图像最大为64x64 ...

.com / tutorials / jennifer / favicon.htmlrel =nofollow noreferrer>这个网站有关创建 favicon.ico 的说明 - 它需要16 * 16,而不是32 * 32(尽管你可以有两种尺寸的复合 .ico )。

我创建了具有多种尺寸的复合 .ico 文件,因此它们可以在浏览器和桌面上正确显示。


I am able to use favicons if I copy one from another site and test. But my own doesn't work in IE8/Chrome. Mine is a 32x32 24bit icon created by Visual Studio. I always seem to have problems getting icons working right, what should I use? I thought I could have images up to 64x64...

解决方案

See this site for instructions for creating a favicon.ico - it needs to be 16*16, not 32*32 (though you can have a composite .ico with both sizes).

I have created composite .ico files with several sizes, so they appear correctly on the browser and the desktop.

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

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