We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

my favicon is not displaying. in page info -> media -> Type, it reads Text/html, while it should read Icon. What can I do?

  • 3 个回答
  • 15 人有此问题
  • 2 次查看
  • 最后回复者为 the-edmeister

more options

I made a web page in dreamweaver cs 5 and used this code for the favicon: <link rel="shortcut icon" href="_images/logo-favicon.ico" /> When I preview it in dreamweaver in the firefox browser, it displays correctly. It however does not display when I visit the actual page. I followed troubleshooting instructions here on firefox that stated that when going into Tools, then Page Info, then clicking on Media, the Type should read as Icon. Instead it reads Text/Html. Could this be the culprit?

I made a web page in dreamweaver cs 5 and used this code for the favicon: <link rel="shortcut icon" href="_images/logo-favicon.ico" /> When I preview it in dreamweaver in the firefox browser, it displays correctly. It however does not display when I visit the actual page. I followed troubleshooting instructions here on firefox that stated that when going into Tools, then Page Info, then clicking on Media, the Type should read as Icon. Instead it reads Text/Html. Could this be the culprit?

被采纳的解决方案

You're welcome, Please mark this thread as SOLVED.

定位到答案原位置 👍 0

所有回复 (3)

more options

With being able to view the webpage itself, it's tough to see what's wrong.

Basically, if you have the favicon.ico file in the root directory of the server, and the name is simply favicon.ico and not some other name, Firefox will be able to find it and display it. Putting that image in another folder or changing the name can cause Firefox not to be able to find it if your < link rel="shortcut icon" path is wrong.

more options

Thank you for your reply. Here is my web page: http://durdovicdesign.com/ I have followed your advice and a combination seems to work. First, I deleted the code; <link rel="shortcut icon" href="../_images/logo-favicon.ico" /> ,changed the name to simply favicon.ico, and placed it into my root folder. That did not work. Second, I kept the renamed favicon (favicon.ico) in the images folder (which is in the root folder), and the root folder (so I have it in 2 locations), and repasted the code; <link rel="shortcut icon" href="../_images/favicon.ico" /> (note the favicon name change). This combination worked for me, so thank you for your help. :-))

more options

选择的解决方案

You're welcome, Please mark this thread as SOLVED.