Archive for the HTML Category

How to fix IE PNG problems

Posted in CakePHP, HTML, Javascript, Web with tags , , , on May 27, 2009 by myleskadusale

Today I was having a problem displaying transparent PNG’s in IE and found this solution

It worked well.
Hope this helps 🙂

How to add a Website Icon in the Address Bar

Posted in HTML, Web with tags , , on May 26, 2009 by myleskadusale

Favorite Icons, or favicons for short, are 16px x 16px icons for your website. They are used by web browsers as your website’s icon when a visitor bookmarks your website or visits you website

Favicons are really simple to make, and because they add to your website’s image, there is really no reason not to have them. Look at the address bar now, you will see a blue W icon.

First you have to create a 16px x 16px icon.
Second rename your icon to the standard name which is favicon.ico
Third copy the icon file to your web root or any place you want
Fourth add this code inside the Head tag
<link rel=”shortcut icon” href=”/favicon.ico”>
The href path depends on where your icon is located.

That’s it!
By the way you can have different icons per page just put your favicons in different directory with the same standard name which is favicon.ico