Another favicon not working in IE

 ̄綄美尐妖づ 提交于 2019-12-11 16:03:11

问题


I've read through and tried all the favicon fixes already posted. Including:

  1. Refreshing the cache
  2. Using a different favicon that works on other websites
  3. Using a favicon generating website
  4. Using a Photoshop favicon plugin
  5. Using an absolute path
  6. Using a relative path

It works fine in all the other browsers. I'm using IE8 in Vista via Parallels on a Mac.

It's on a Moodle website and I have not altered the default Moodle code for the favicon:

<link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />

The site is here: http://www.olvarwood.com.au/olvarwoodonline/

Favicon path is here: http://www.olvarwood.com.au/olvarwoodonline/theme/olvar-wood/favicon.ico

Any ideas?


回答1:


favicons are funny things. I believe they may be cached differently to normal web content.

This may be because browsers (as well as other things) often request favicon.ico for every site they go to.

I've had favicons not working, and then miraculously appear several hours later.

Sorry if this isn't much help, but try waiting it out :)




回答2:


It works on my IE7. So it must be specific to IE8. The only thing I could suggest testing is to add:

type="image/x-icon" 

in your link favicon element.



来源:https://stackoverflow.com/questions/823702/another-favicon-not-working-in-ie

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