How can I put a small icon in the web browser URL line?

G

Guest

I use Firefox and notice alot of websites have a small icon in the browser
bar instead of a blank document icon, as I see now. It is just to the left of
http://blah blah.

If anyone knows how I can put my logo on my wepage, please help. Thanks
 
T

Trevor L.

Travis,
To be more precise.

1. Create an icon in your image editor
2. a) Save it as "favicon.ico" on the root folder (i.e. the same folder as
index.html, or whatever your home page is)
2. b) Alternativelty, save it anywhere (in my case images/display) and add
this to your index/html
<head>
....
<link rel="shortcut icon" href="images/display/favicon.ico"
type="image/x-icon"/>
....
</head>

Interestingly, I find that this works fine in Firefox, but not in IE6. I
have read that saving the page as a favorite in IE6 wil cause the icon to
appear, but it never has for me.

As you use Firefox, there should be no problems
 
V

Viken Karaguesian

Interestingly, I find that this works fine in Firefox, but not in IE6. I
have read that saving the page as a favorite in IE6 wil cause the icon to
appear, but it never has for me.

I just found this on Microsoft's website.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/howto/shortcuticon.asp

Basically, the Favicon will only appear in IE if the user chooses to add
your site to their favorites through a JavaScript, it seems. They do provide
the script, though.

Viken K.
 
C

Chuck Davis

Viken Karaguesian said:
I just found this on Microsoft's website.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/howto/shortcuticon.asp

Basically, the Favicon will only appear in IE if the user chooses to add
your site to their favorites through a JavaScript, it seems. They do
provide the script, though.

Viken K.
Favicons show up in the Favorites in IE.
In Favorites and address bar in Firefox
In Bookmarks and address bar in Opera
In the address bar in Netscape
 
T

Trevor L.

Viken,
Yes, that was my thinking.

I tried the script and while it adds the favorite, it doesn't change the
icon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top