SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: The favicon

  1. #1
    SitePoint Guru momos's Avatar
    Join Date
    Apr 2004
    Location
    Belgium
    Posts
    919
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The favicon

    I know 2 ways of doing a bookmark icon:
    1. You create an icon, rename it to favicon.ico and put it in the directory where your site is.
    2. you add in the head-section of your html a link tag like this:
      <link rel="bookmark icon" href="(X)" />
      where (X) is the link to the icon on your webserver
    But my question: Has it ever been standardized, and if so which way to go?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,424
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    AFAIK there is no standard. The safe bet would be to use both. I find using the <link> version seems to work best with Mozilla browsers but that's just a casual observation I've made.

  3. #3
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Yup, put it in the top level directory of your site and link to it in the head section. Works great on Firefox, OK in Opera, and IE just displays it when it feels like it.

  4. #4
    SitePoint Guru momos's Avatar
    Join Date
    Apr 2004
    Location
    Belgium
    Posts
    919
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mstwntd
    Yup, put it in the top level directory of your site and link to it in the head section. Works great on Firefox, OK in Opera, and IE just displays it when it feels like it.
    IE displays it when you added the site in your favorites-section

  5. #5
    SitePoint Zealot Sleeper's Avatar
    Join Date
    Mar 2001
    Location
    Sydney, Australia
    Posts
    143
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by momos
    IE displays it when you added the site in your favorites-section
    Until the cache pushes it out like a watermelon through a slicer. Then it comes back to the default icon.


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
  •