SMF For Free Support Forum
Signup For Free Forum
August 30, 2008, 04:05:16 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Guide] How to do a favicon  (Read 1547 times)
0 Members and 1 Guest are viewing this topic.
trevix
SMF For Free Sr. Member
*
Offline Offline

Posts: 303



View Profile WWW
« on: October 21, 2007, 01:23:05 pm »

Add this code to header or footer
Code:
<link rel="shortcut icon" href="IMG URL">
Replace IMG URL with an image that you want, it will automatically be resized to 16x16.

With FF it will instantly change, but with IE it may take a few days.  Also in IE the icon has been know to disappear for a while.

Example: http://mylevel.smfforfree3.com/
« Last Edit: May 09, 2008, 10:17:02 am by simply sibyl » Logged


Ad Machine - Free advertising and tips on how to promote your board.
simply sibyl
Global Moderator
*
Offline Offline

Posts: 7941


I am not a dude!


View Profile WWW
« Reply #1 on: October 23, 2007, 10:57:10 am »

If the image is named favicon.ico you need to only use this code and it will show up in all browsers with no problems, including IE:
Code:
<link rel="shortcut icon" href="image url" type="image/x-icon">


If you use a .gif image you need to use both of the codes below in order for it to show up in all browsers.   

Code:
<link rel="icon" href="image url" type="image/x-icon">
<link rel="shortcut icon" href="image url" type="image/x-icon">

the image should be 16x16 pixels

replace image url with the url of your image


« Last Edit: May 09, 2008, 10:16:23 am by simply sibyl » Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.174 seconds with 16 queries.