Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

favicon

Status
Not open for further replies.

1drop

Technical User
Oct 23, 2008
3
When I save my favicon the bg turns black (should be white) and the image is not clear. It shows up ok when trying to apply it as an icon to a folder. But when I apply it, is when it doesnt look the same.

Does this sound obvious to someone?

Thanks
Eric
 
No. How big is your favicon? What program did you make it in? Is it an .ico file or just a renamed bmp? Have you tried using the favicon generator at
___________________________________________________________
[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
I published the .ico file in 24-bit bitmap with the paint program. (as per instruction)
I just tried the Icon Generator which works good.
But now I cant get it to work live and come up in the address bar. I',ve got <LINK REL="SHORTCUT ICON" HREF=" in the head tag and the ico file uploaded but what else?

Thanks
 
I always use 2 lines:

Code:
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

I also always make sure the file is called 'favicon.ico' and is available at '/' as some older browsers will ignore the 'link' tags and always look in that location.

Some browsers will also only show it if you bookmark the site and click on the bookmark.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top