Why doesn't my favicon display for my web site?

一曲冷凌霜 提交于 2019-12-01 10:56:52

问题


I have a website that I've just uploaded onto the Internet. When I browse to the site using Firefox 3.0.1 on Ubuntu I don't see the favicon; Firefox 3.0.1 on WinXP does display it.

Why isn't the favicon displaying under Ubuntu? It's a favicon.ico file in the root directory, not referenced in the meta tags; would it work better as a GIF?


回答1:


Previously, there was no favicon. The browser cached the lack of favicon. Clear the Firefox cache, and all is well.




回答2:


Try taking a look at this previous Question, which shows you must put two meta tags in your html in order for it to work across all browsers and operating systems.



来源:https://stackoverflow.com/questions/6732/why-doesnt-my-favicon-display-for-my-web-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!