开发者

ASP.NET MVC 2 RTM - favicon not displayed in Internet Explorer

I have the following two lines in the head section in my masterpage:

<link r开发者_JS百科el="shortcut icon" href="/Content/Images/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/Content/Images/favicon.ico" type="image/ico" />

However, the favicon is not displayed in Internet Explorer (version 6, 7, 8). In Firefox and Safari the favicon works fine. I have even tried to replace href with the URL to my website (http://www......./Content/Images/favicon.ico) but that still does not work in Internet Explorer. Am I missing something?


Try this post http://weblogs.asp.net/nmarun/archive/2010/03/14/asp-net-mvc-2-throws-exception-for-favicon-ico.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜