Titlebar icon for web pages

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
Asbestos
Registered User
Posts: 407
Joined: 09 Jun 2003, 02:00
Location: eGoli

Titlebar icon for web pages

Post by Asbestos »

Okay, how do you get a custom icon to display in the titlebar on IE or in the addressbar on FireFox? Penny Arcade is one of the many sites that has one and frankly I want to know how it is done. Any one know?
McGuywer
Registered User
Posts: 362
Joined: 03 Aug 2004, 02:00
Location: Pretoria

Post by McGuywer »

I would also like to know but I think it has something to do with PHP and maybe your style sheets. My free fourm also has one but I cannot see where it is defined.
Aan wat dink jy nie?
Web Africa ADSL
Richard_
Registered User
Posts: 2295
Joined: 18 May 2003, 02:00
Location: Durban, South Africa

Post by Richard_ »

McGuywer wrote:I would also like to know but I think it has something to do with PHP and maybe your style sheets. My free fourm also has one but I cannot see where it is defined.
I can for the life of me also not figure out how they get it right??? Some other sites that use it are Google, HowStuffWorks etc. Ive looked at the source code, and there's definitely nothing there!
Thrall
Moderator Emeritus
Posts: 3687
Joined: 30 Apr 2003, 02:00
Location: Texas, USA

Post by Thrall »

If you mean the icon that's displayed in Favourites, you can do it this way:

1. Create the icon

Size: 16 pixels by 16 pixels
Number of Colours: 16
Image Type: .gif
File Size: 1046 bytes

2: Change the icon to a .ico file - call it favicon.ico

3: Add the favorites icon to your html. In the <Head> tag, enter the following code:

Code: Select all

<LINK REL="SHORTCUT ICON" HREF="favicon.ico">


4: Upload the icon and the new page - voila
Be polite, professional and have a plan to kill everyone you meet.

My Iraq pics
Post Reply