I would like my index page to have an icon associated with it, so when someone creates a shortcut pointing to that page, their short cut will use that icon in its display. Is this possible?
Create a 100 x 100 px image in Photoshop or Fireworks. Keep it simple. Complex art doesn't work well for this. Resize image to 32px x 32px. Save for Web as 8-bit PNG, named favicon.png
Upload favicon.png to the root folder of your server (where your index page is).
Add this line of code to your index page between the <head> </head> tags.
<link rel="shortcut icon" href="favicon.png" type="image/vnd.microsoft.icon">
Save and upload to server.
Nancy O.
Message was edited by: Nancy O. Changed favicon.ico to favicon.png.
Hello Mike,
in addition:
Your browser must be convinced first to show It!![]()
Upload the favicon.ico file to your server's root directory.
Insert this line of code between the
<Head> </Head> tags on your home or index.html page:
If you wish to use an animated icon too,
upload the animated_favicon1.gif as above
and add one of this code lines:
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="icon" href="pictures/favicon.ico" type="image/x-icon" />
<link rel="icon" href="animated_favicon1.gif" type="image/gif">
Clear ALL your caches!
Check with another browser, the new icon will be there.
Or:
- If set, delete the bookmark to the page or re-create the bookmark.
- Quit browser
- Empty the Temp Internet Files Internet Options
- Clear History
- Delete everything in general, where the browser remembers visited sites.
- Restart
- Clear Site visit
- Clear Bookmark
HTH
Hans-G.
Hi Mike,
to clarify some of the fundamental issues in this case I'll send you some links:
http://msdn.microsoft.com/en-us/library/ms537656(v=vs.85).aspx and http://www.w3.org/2005/10/howto-favicon.
esp.:
and: http://en.wikipedia.org/wiki/Favicon, here esp.: "Browsers that support a tabbed document interface typically show a page's favicon next to the page's title on the tab, and site-specific browsers use the favicon as desktop icon."
The main focus of all the hints is always this:
<head>
<link rel="SHORTCUT ICON" href="http://www.mydomain.com/myicon.ico"/>
<title>My Title</title>
</head>
Hans-Günter
North America
Europe, Middle East and Africa
Asia Pacific