grungefreak Posted June 13, 2009 Share Posted June 13, 2009 Hi, For some reason I cannot get a favicon to display on my site. I have created a 16x16 gif saved with the .ico extension. Uploaded to root folder of server space. I have done this for a few websites but this one just will not display. Does anybody have any suggestions or checklist? GF Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 13, 2009 Share Posted June 13, 2009 Try this: <link rel="icon" type="image/x-icon" href="favicon.ico" /> Quote Link to comment Share on other sites More sharing options...
grungefreak Posted June 13, 2009 Author Share Posted June 13, 2009 Try this: <link rel="icon" type="image/x-icon" href="favicon.ico" /> Thanks. It works on Chrome but still nothing with ff or ie. Headwreck! GF Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 13, 2009 Share Posted June 13, 2009 You might have cached it. Try refreshing/deleting cache. Quote Link to comment Share on other sites More sharing options...
grungefreak Posted June 13, 2009 Author Share Posted June 13, 2009 You might have cached it. Try refreshing/deleting cache. Nope.Tried that already. GF Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 13, 2009 Share Posted June 13, 2009 Idk then, must be something wrong with your icon. I use that code and it works absolutely fine. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted June 13, 2009 Share Posted June 13, 2009 Idk then, must be something wrong with your icon. I use that code and it works absolutely fine. It should work without any extra code in FF. Quote Link to comment Share on other sites More sharing options...
nrg_alpha Posted June 13, 2009 Share Posted June 13, 2009 I use the following code without issues: <link rel="shortcut icon" href="/favicon.ico" /> Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 13, 2009 Share Posted June 13, 2009 Don't you have to specify a type for it to be valid? Quote Link to comment Share on other sites More sharing options...
nrg_alpha Posted June 13, 2009 Share Posted June 13, 2009 It seems perfectly valid (the w3c validatior doesn't complain), and the icon displays across all major browsers that I tested it on. Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 13, 2009 Share Posted June 13, 2009 Oh right. That's weird, I'd have thought you have to specify a type. It could be css you're linking to for all the browser knows... Quote Link to comment Share on other sites More sharing options...
Axeia Posted June 14, 2009 Share Posted June 14, 2009 Favicons tend to act a little strange due to caching, try a hard refresh (google it if you don't know it). And I'm guessing the browser is reading the response header and sniffing out the type like that instead of relying on the extension. Quote Link to comment Share on other sites More sharing options...
grungefreak Posted June 14, 2009 Author Share Posted June 14, 2009 Favicons tend to act a little strange due to caching, try a hard refresh (google it if you don't know it). And I'm guessing the browser is reading the response header and sniffing out the type like that instead of relying on the extension. Well I just turned on my machine today and it works in all the browsers. Must have been some kind of cache problem or something. Thanks for the help. GF Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 14, 2009 Share Posted June 14, 2009 So jxrd was right all along... Quote Link to comment Share on other sites More sharing options...
grungefreak Posted June 14, 2009 Author Share Posted June 14, 2009 So jxrd was right all along... Guess so, thanks for the help. GF Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.