谷歌瀏覽器無法顯示網頁http://www.hausnaturpur.de/谷歌瀏覽器無法顯示的收藏圖標
的最愛圖標而Firefox和其他瀏覽器支持喜歡的圖標。 這是使用的代碼:
<link rel="shortcut icon" href="/images/newfavicon.ico" type="image/x-icon" />
什麼可能是錯的?
谷歌瀏覽器無法顯示網頁http://www.hausnaturpur.de/谷歌瀏覽器無法顯示的收藏圖標
的最愛圖標而Firefox和其他瀏覽器支持喜歡的圖標。 這是使用的代碼:
<link rel="shortcut icon" href="/images/newfavicon.ico" type="image/x-icon" />
什麼可能是錯的?
試試這個:
<link rel="shortcut icon"
href="http://www.hausnaturpur.de/images/newfavicon.ico">
如果一切正常,應該比你試試這個:從看的SO
<link rel="shortcut icon" href="http://cdn.sstatic.net/stackoverflow/img/favicon.ico">
也從維基百科的文章來源
<link rel="shortcut icon" href="images/newfavicon.ico">
http://en.wikipedia.org/wiki/Favicon
我建議通過在Chrome內的鍵盤上按f12並檢查網絡選項卡(您將不得不刷新它的工作)來檢查是否正在發送圖像。唯一的其他東西我可以建議被重命名你的圖標文件的favicon.ico
嘗試在rel屬性唯一的「圖標」,並稱在同一行。
嘗試將圖像移動到根文件夾,使得圖像的新路徑將是http://www.hausnaturpur.de/newfavicon.ico
+1我似乎記得在此之前爲我工作。 –
感謝其現在的工作 –