Results 1 to 5 of 5

Thread: Favicon - displays in Firefox, but not IE

  1. #1
    Join Date
    Sep 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Favicon - displays in Firefox, but not IE

    My favicon will not display in Internet Explorer, but is fine (both Address and Bookmarks) in Firefox.

    I'm using this code, just after the title tags, on each page in my root directory:
    <LINK REL="SHORTCUT ICON" HREF="favicon.ico"> An absolute URL works fine in Firefox too, but not in IE.

    The image is 16x16 and in the root directory, so I can't imagine it's the problem.

    Any suggestions? Thanks.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You should use:
    <link rel="icon" type="image/x-icon" href="/favicon.ico">

    IE's display of favicons is erratic at best. You'll find it comes up at some point.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    With IE it really doesn't matter what currently valid link statement you use. If the favicon is in the root of the domain, no link statement is needed for any browser that I know of. IE is erratic in its support of the favicon though. A trick that usually works is to tug a few times at the default icon in the address bar with the mouse, using a drag and drop motion. But, with or without this trick, once IE does recognize the favicon, sooner or later (probably sooner) it will eventually stop recognizing it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Sep 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This did work in IE (using version 6) but just on the index.html page. It shows the favicon in both Address and Favorites now.

    All the other pages still show the default icon. All still displays just fine in Firefox, which I am liking better all the time...

    Any other thoughts? Thanks for your first reply!

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Just a coincidence, it will disappear soon enough from IE.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •