cometta
cometta

Reputation: 35689

html icon show in firefox but cannot showed in IE


link REL="SHORTCUT ICON" HREF="/images/greenTheme/favicon.ico" type="image/x-icon"

the above code work in firefox but doesnt work in IE, how to make it work in IE?

Upvotes: 2

Views: 1359

Answers (3)

joebert
joebert

Reputation: 2663

<link href='/path/to/favicon.ico' rel='icon' type='image/vnd.microsoft.icon'/>

Also if you have a 57x57 pixel PNG for an iPhone

<link rel="apple-touch-icon" href="/apple-touch-icon.png"/>

Upvotes: 3

Haim Evgi
Haim Evgi

Reputation: 125486

•Make sure, the path to the favicon in the header of your page is absolute, not relative.

•Delete your temporary internet files. If the folder with temporary files has reached its maximum, the favicon may not be used. .

Upvotes: 1

dave4420
dave4420

Reputation: 47052

Try changing the type bit to

type="image/vnd.microsoft.icon"

Upvotes: 0

Related Questions