Favicon gotcha with Google Chrome

Thursday, July 23rd, 2009

You might notice (or not care) that I added a favicon.

Google Chrome has the odd behavior that, if you add the tag for IE first, Chrome will not use the second link. However, Chrome cannot handle IE’s way of dealing with Favicons in the <head>-tag.

Instead, you have to do it like so:

<!-- Favicon begin -->
<link rel="icon" href="http://blog.thimian.com/favicon.ico" type="image/vnd.microsoft.icon">
<link rel="SHORTCUT ICON" href="/favicon.ico">
<!-- Favicon end -->

Share and Enjoy:
  • Twitter
  • del.icio.us
  • Technorati
  • Facebook
  • Netvibes
  • FriendFeed
  • Reddit
  • Google Bookmarks
  • Print
  • email

Comments are closed.