问题描述
发生了一些奇怪的事情,但我敢打赌这是一个快速修复。我的
favicon图像显示在URL栏中,持续几秒钟,
但它会消失,并显示默认的浏览器图标。当
我重新加载页面时,同样的事情发生了。几秒钟(页面加载时)出现正确的图标
,但随后消失。你可以在这里看到
:
我使用的代码是:
< LINK REL =" SHORTCUT ICON" HREF =" /favicon.ico" type =" image / x-icon">
< LINK REL =" ICON" HREF =" /favicon.ico" type =" image / x-icon">
有谁知道我做错了什么?非常感谢!
Something strange is happening, but I bet it is a quick fix. My
favicon image is showing up in the URL bar, for a couple of seconds,
but then it disappears and the default browser icon is displayed. When
I reload the page, the same thing happens. The correct icon appears
for a few seconds (while the page is loading), but then goes away. You
can see that here:
http://webdev.ucop.edu/tltc_ph2/index_icon.html
The code I am using is:
<LINK REL="SHORTCUT ICON" HREF="/favicon.ico" type="image/x-icon">
<LINK REL="ICON" HREF="/favicon.ico" type="image/x-icon">
Does anyone know what I am doing wrong? Thank you very much!
推荐答案
您的HTML代码没有任何问题,但您保存的favicon.ico可能有一些错误
错误。
您可能想要重新创建它。它不会显示给我。
-
Edward Alfert
多域名托管和转销商托管计划
优惠券代码(重复
There is nothing wrong with your HTML code, but there may be something
wrong with your saved favicon.ico.
You may want to recreate it. It does not display for me.
--
Edward Alfert
http://www.rootmode.com/
Multiple Domain Hosting and Reseller Hosting Plans
Coupon Code (Recurring
我甚至都没看到它。不是在Opera而不是在
Firebird。
然后如果我输入
我没看到一个图标。在Firebird中只有一行奇怪的
字符,在Opera中有一个空白页面。你有没有
真的制作一个图标,或者只是更改了jpg或bmp的名称
到ico?
-
Els
Sonhos vem。 Sonhos v?o。 Orestoébritfeito。
- Renato Russo -
I don''t even see it for a second. Not in Opera and not in
Firebird.
Then if I type in http://webdev.ucop.edu/tltc_ph2/favicon.ico
I don''t get to see an icon either. Just a line of strange
characters in Firebird, and a blank page in Opera.. Did you
really make an icon, or just changed the name of a jpg or bmp
to ico?
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -
这篇关于>>关于Favicons的快速提问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!