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!
 

MrSmith

macrumors 68040
Nov 27, 2003
3,046
14
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" />
 

idea_hamster

macrumors 65816
Jul 11, 2003
1,096
1
NYC, or thereabouts
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?
 

MrSmith

macrumors 68040
Nov 27, 2003
3,046
14
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" />
 

idea_hamster

macrumors 65816
Jul 11, 2003
1,096
1
NYC, or thereabouts
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.
 

cr2sh

macrumors 68030
May 28, 2002
2,554
3
downtown
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.
 

MattyP

macrumors member
Dec 13, 2005
71
0
San Francisco
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
 

Peyton

macrumors 68000
Feb 2, 2006
1,615
0
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.
 

MrSmith

macrumors 68040
Nov 27, 2003
3,046
14
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.