IE图标不显示,火狐也行。 [英] IE favicon is not show, firefox is ok.
本文介绍了IE图标不显示,火狐也行。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一段代码显示了一个图标。它不适用于IE,但是Firefox和Opera都可以。
there is a piece of code that it show a favicon. it doesn''t work on IE, but firefox and Opera is ok.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel = "shortcut icon" href = "favicon.ico" type = "image/x-icon" />
<link rel = "icon" href = "favicon.ico" type = "image/x-icon" />
<title>favicon test</title>
</head>
<body>
<p>IE favicon is not show, firefox is ok</p>
</body>
</html>
谁能告诉我原因?我已经在IE 6/7/8/9/10上进行了测试,没有一个没问题。
who can tell me why? I have testing it on IE 6/7/8/9/10,none is ok.
推荐答案
http://stackoverflow.com/questions/122067/favicon-not-working-in-ie [ ^ ]
http://stackoverflow.com/questions/8918384/favicon-not-showing-up-in-address-bar-in-ie9-yet-is-displayed-there-in-all-oth [ ^ ]
HTTP://答案。 microsoft.com/en-us/ie/forum/ie9-windows_7/almost-no-favicons-showing-in-ie9/9d962198-0d63-e011-8dfc-68b599b31bf5 [ ^ ]
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/9f81f991-d69b-4234-b019-ead0a97c9ff2 [< a href =http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/9f81f991-d69b-4234-b019-ead0a97c9ff2\"target =_ blanktitle =New Window> ^ ]
查看此链接..可能对您有所帮助...
http://stackoverflow.com/questions/122067/favicon-not-working-in-ie[^]
http://stackoverflow.com/questions/8918384/favicon-not-showing-up-in-address-bar-in-ie9-yet-is-displayed-there-in-all-oth[^]
http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/almost-no-favicons-showing-in-ie9/9d962198-0d63-e011-8dfc-68b599b31bf5[^]
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/9f81f991-d69b-4234-b019-ead0a97c9ff2[^]
check this links..it may help you...
这篇关于IE图标不显示,火狐也行。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文