Archive

Posts Tagged ‘favicon’

FavIcons and the Apache Error Log, damn you IE!

March 30th, 2009 ben No comments

Having written a small post about favicons, I stumbled across some interesting information while looking through works apache error log. Besides being HUGE, it was also annoyingly filled with favicon.ico missing statements.

This wouldn’t be such a big problem, if it wasn’t for the fact that I have never referenced a file called favicon.ico (for that matter my favicon are .PNGs). It turns out that IE5 by default looks for ‘favicon.ico’ in sites root directory, regardless of whether you specified a meta location or not (see the post below).

The solution?…. Nothing elegant I am afraid. Your chooses:

  1. Place the ‘favicon.ico’ in your sites root directory
  2. Inform apache that the file isn’t their and too not even bother looking (http://www.trilithium.com/johan/2005/02/no-favicon/)
  3. Create a dummy favicon.ico and place it in the root directory

I hate IE…

Categories: HTML, images Tags: , ,

FAV Icons… the finishing touch to any website.

March 12th, 2009 ben No comments

Often the forgotten final element to a website, the favicon is the ‘je suis je reste’ (to quote del boy). It allows a mini icon to be displayed on your bookmarks and in the corner of most popular browsers tabs..

To maximise compatibility it needs to be 16×16 pixels, and either a Jpeg, gif or png (I prefer the later).

<link rel='icon' type='image/png' href='./Images/favicon.png' />

Place the above code (with the correct path) in between your <head> tag for favicon goodness :)

Categories: HTML Tags: , , , ,