FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Creating favincon

 


djpupeikis
how creat favicon?
first creat your icon 16X16.
then upload it to server main directory and add html code. enter it to <head>
here is code
Code:

<LINK REL="SHORTCUT ICON" HREF="http://www.yourdomain.com/favicon.ico">

have a fun Smile
yjwong
But sometimes you do not have to put that tag. Firefox and Opera can automatically detect whether there is an icon named favicon.ico in the same directory of your webpage.
benjad
It should also be noted that this is bad html...

Once again, M$ added a feature it thought would be cool. And now, in IE, it rarely even works. Only when you have the page in your favorites, and have the icon in the cache will it appear.

Fx will display this icon in the url bar, and "maybe" use it in your links bar (though it's kind of buggy).
dz9c
yjwong wrote:
But sometimes you do not have to put that tag. Firefox and Opera can automatically detect whether there is an icon named favicon.ico in the same directory of your webpage.

I did not know that! I just learned something
lol what
I had no idea that you could use a tag like that even if you wanted to. Every browser I've used has checked for favicon.ico automatically.
cavey
Many free webhosts have adresses like http://yourhost.com/~username/. Then you can not put a favicon in your public_html, because the browser will look for http://yourhost.com/favicon.ico - not http://yourhost.com/~username/favicon.ico. With this code you can have your own favicon.

I have these two lines in my <head>:

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


I read somewhere (don't remember where) that it would be smart for more browser-compability to have both those lines. Also, notice the type-attribute. So if your favicon won't show in your browser, maybe you should try adding the other line?
reggro
oooo..

http://www.graphicsguru.com/favicon.php
1-upload your favicon image (.jpg, .gif , .png etc.) here, first..
2-click "generate..
3-download the favicon.
4-upload favicon.ico to the root of your website.
5-add this after the <head> tag of your index page: <link rel="shortcut icon" href="favicon.ico">
calvinchin
Hi there,
cavey wrote:
Many free webhosts have adresses like http://yourhost.com/~username/. Then you can not put a favicon in your public_html, because the browser will look for http://yourhost.com/favicon.ico - not http://yourhost.com/~username/favicon.ico. With this code you can have your own favicon.

I don't know this... Sad

Thank you for pointing this out. Very Happy
Ranfaroth
yjwong wrote:
Firefox and Opera can automatically detect whether there is an icon named favicon.ico in the same directory of your webpage.
It's a known bug (because it generates useless requests)
jayzee
its great...simple and fantastic.. Very Happy
Tex_Arcana
There is a free service at http://www.chami.com/html-kit/services/favicon/ where they will turn any graphic not only into a favicon but an animated favicon (it just rolls up about 4 times then stops). You get your favicon in different versions (two sized with white background, a transparent background and animated) along with a readme file that includes the codes to put into your head section so you can call whichever version you want to use.

I GIMPed up a simple design for my favicon and ran it through and I'm using the animated favicon on my site.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.