![]() |
|
|
Adding a favicon to your website |
|
Defies a Status
Latest Blog Post:
Plugged Posts: 1,585
Name: Michael (mik) Land
Location: England
|
There have been a few topics on this matter, so let's make it clear.
Best practice For the sake of IE compatibility, use an ICO format. It must contain at least 16 pixels by 16 pixels and no more than 256 colours. You should add 32*32, 48*48, 128*128, etc etc icons for people who want to shortcut your site on their desktop. It is also ideal to name it favicon and have it in the root directory of your site. Some older browsers supported favicon by finding the file in the root directory but did not read the link tag for it. The code HTML Code:
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="favicon.ico">
Alternatives If you're not worried about it displaying in IE then you can use one of three formats: ICO, GIF or PNG. PNG is possibly your best bet, but if you want it animated go for GIF. PNG is supported at 32 bits on Firefox 2, Opera 9 and Safari 3 (Windows). To use GIF or PNG you should change the type to either image/gif or image/png. For additional and up to date information on the favicon, check Wikipedia.
__________________
Pseudocrap.net - Personal blog on education, life, humour and reviews. Opera Browser - The fastest and best free web browser. Opera Dev Tools - The advantage of Firefox has just been left behind. |
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Re: Adding a favicon to your website |
|
Defies a Status
Latest Blog Post:
Plugged Posts: 1,585
Name: Michael (mik) Land
Location: England
|
Bump for reference.
__________________
Pseudocrap.net - Personal blog on education, life, humour and reviews. Opera Browser - The fastest and best free web browser. Opera Dev Tools - The advantage of Firefox has just been left behind. |
|
|
|
|
|
Re: Adding a favicon to your website |
|
Ultra Talker
Latest Blog Post:
Confessions and Reflections of a [Former] ... Posts: 418
Name: Tamar Weinberg
Location: New York
|
You might want to point people to a favicon creator like this: http://tools.dynamicdrive.com/favicon/
Adding .ico to the end of your .gif or .jpg won't cut it.
__________________
Techipedia: All About Social Media |
|
|
|
|
|
Re: Adding a favicon to your website |
|
Experienced Talker
Latest Blog Post:
My CSS reset, reset.css Posts: 46
|
I'd just go with this:
<link rel="shortcut icon" href="favicon.ico"> no mime type. |
|
|
|
|
|
Re: Adding a favicon to your website |
|
Novice Talker
Posts: 14
Name: Jermaine
|
thanks buddy that helps alot
|
|
|
|
|
|
Re: Adding a favicon to your website |
|
Defies a Status
Latest Blog Post:
Plugged Posts: 1,585
Name: Michael (mik) Land
Location: England
|
It will automatically use the icon size that is required. When making icon files, you often have the capacity to use various sizes and colour depths.
So long as it is in the <head> section, it doesn't matter.
__________________
Pseudocrap.net - Personal blog on education, life, humour and reviews. Opera Browser - The fastest and best free web browser. Opera Dev Tools - The advantage of Firefox has just been left behind. |
|
|
|
|
|
Re: Adding a favicon to your website |
|
Super Talker
Latest Blog Post:
Intamplari si amintiri [0 comentarii] Posts: 112
Name: irimia octavian
Location: Romania
|
.gif is oke... why you have doubts and why you make your life complicate?
__________________
my photos, my website, my blog [RO language] vectorial pixel web services :: and, sorry for my English ! |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |