17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » IE8 and favicon
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 4631 Views |
-
IE8 and favicon

22 August 2009 at 7:02am
I'm not able to see the favicon in IE8.
Has anyone been able to solve this little pesky problem for ie8? It works in ie7, firefox but not ie8 - weird.
The code I have on all the pages is:
<link rel="shortcut icon" href="/favicon.ico" />
Thanks for any insight,
Terry
-
Re: IE8 and favicon

22 August 2009 at 10:42am Last edited: 22 August 2009 10:44am
Hi TerryMiddleton,
The <link> that you showed is the default that is in the SS Template and isn't valid XHTML (that i know of). Our trusty friend Wikipedia comes to the rescue here (http://en.wikipedia.org/wiki/Favicon#Standardization_and_implementation):
<link rel="icon" type="image/vnd.microsoft.icon" href="/somepath/image.ico" />
I use that for my sites and it shows in IE8... Maybe a rare example of microsoft complying to standards? Either that or because i put my favicons in the root and it finds them
If you have an icon in the root (/favicon.ico is a file) then browsers tend to pick that up automatically.
Make sure you have a favicon and it is where you address it, or for ease put it in the root.
| 4631 Views | ||
|
Page:
1
|
Go to Top |


