Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Kyle Nerder

macrumors regular
Original poster
Oct 14, 2005
189
0
Toronto
how do I add my web logo to the address bar in the browser? I don't know too much about html, so hopefully I can do it in dreamweaver with a few clicks.

Thanks to those who help out!
 
Make your 'favicon' image (for example, in GraphicConverter) at 16 x 16 pixels. Save two copies: favicon.png and favicon.ico.

Then add these into the <head> section of your index.html page:

<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.png" type="image/png" />
 
MrSmith said:
Make your 'favicon' image (for example, in GraphicConverter) at 16 x 16 pixels. Save two copies: favicon.png and favicon.ico.

Then add these into the <head> section of your index.html page:

<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.png" type="image/png" />

OK. And where do I store the images? In the same folder level as my index.html file?
 
In my example, yes. If you want to put the favicon images in a sub-folder, (let's say, in a folder called 'images') then the links would read:

<link rel="images/shortcut icon" href="favicon.ico" />
<link rel="icon" href="images/favicon.png" type="image/png" />
 
Sweet!

Thanks, dudes -- that was pretty easy!

BTW, at first it didn't work because I put the code at the very bottom of the <head> section and I think it was after some comment code or something. (I'm a wimp -- I use GoLive.) So I moved it to the top and...Voilà!

Nice.
 
Wow.. great question and very helpful answers. I've always wondered how they did that, now I can't wait to start creating 16x16 icons.
 
Gah!

idea_hamster said:
Thanks, dudes -- that was pretty easy!

BTW, at first it didn't work because I put the code at the very bottom of the <head> section and I think it was after some comment code or something. (I'm a wimp -- I use GoLive.) So I moved it to the top and...Voilà!

Nice.
Hey, it would be cool if you put your URL out there so we could check out your site now spifified with your cool new favicon.

Thanks for this thread, I'm going to add one to my site this weekend!
-whoa, I actually remembered my FTP login and did it in text edit! Sweet!
http://www.mattpipes.com
 
I looked again, and you were right, it wasn't (I honestly thought I did) but it looks exactly the same now, and the code is in the correct place now:confused:
weird, but really, thanks for your help I really appreciate it.
 
Peyton,

Have you tried removing the 'P' and the space in your hrefs?
i.e. replace the links with these:

<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.png" type="image/png" />

And change the name of the images as well, of course.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.