1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

IE Address Bar Icon

Discussion in 'Software Development' started by Old Codger, Oct 14, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. Old Codger

    Old Codger Thread Starter

    Joined:
    Oct 11, 2003
    Messages:
    10
    Can someone tell me how to code so that a custom icon replaces the standard IE Icon, in IE's address bar, when a user goes to my site.

    Thank You
     
  2. Gibble

    Gibble

    Joined:
    Oct 9, 2001
    Messages:
    27,087
    All you do is make a favicon.ico file and place it in your website's root directory, IE always looks for that file, so if it exists, it will show the icon :)
     
  3. Gibble

    Gibble

    Joined:
    Oct 9, 2001
    Messages:
    27,087
    How to Create a "Favicon.ico" File

    Create an image 16X16 pixels in size. Yes, it is really small and you can't really draw much in it. You should also restrict yourself to the standard Windows 16 colours, although I suspect that 256 colours will work fine.

    If you like, you can also create a 32X32 pixel icon, which will be scaled to size for the Favorites menu and the location bar. You can even put both 16X16 and 32X32 pixel icons into the same icon file. Windows will use the former for its menus and the latter when the user opens up a folder that is set to display large icons. It's probably not really necessary to do this if you can't be bothered.

    Save the image as an ICO file (named "favicon.ico", of course).

    Upload it to your website. You don't need to upload one to every directory of your site if you don't want to waste space - simply put it in your root directory and IE will apparently locate it eventually.
     
  4. Old Codger

    Old Codger Thread Starter

    Joined:
    Oct 11, 2003
    Messages:
    10
    Gibble,
    Thanks for your fast response. It is much appreciated. I have been wondering how to do this for some time but could never find the answer.

    Old Codger
     
  5. Gibble

    Gibble

    Joined:
    Oct 9, 2001
    Messages:
    27,087
    Glad to have helped.
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/171892

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice