Monday, August 29, 2005

Bookmark icons

Well I remember talking to someone about bookmark icons, so here is how to do it:
Create a .ico image file 16x16 pixels (higher may not used by IE).

Name it "favicon.ico" and upload it to your root directory. And the browser will pick it up, IE5 and up :-).

If you don't have a domain name and it looks something like www.example.com.au/billybob/

You'll have to add some code to the header in your html on every/any page that you want them to be able to bookmark and to see the icon.

Put the following in to a tag(blogger doesn't like tags...):
link rel = "SHORTCUT ICON" href="http://www.example.com.au/billybob/favicon.ico"

To make the icon file (.ico) you may need to find a seperate paint program.
I used Visual Studio.

Enjoy!

0 Comments:

Post a Comment

<< Home