Implementing a .png and .ico favicon?

ahmed.ali

New Member
Am i able to put 2 favicon links in my \[code\]<head>\[/code\] file?Currently its like this in the header section :\[code\]<link rel="icon" type="image/png" href="http://stackoverflow.com/questions/12775390/sitelink/favicon.png" />\[/code\]\[code\]<link rel="shortcut icon" href="http://stackoverflow.com/questions/12775390/sitelink/myicon.ico" />\[/code\]But Chrome still displays the .ico one first.Am I doing anything wrong? I just want Chrome/Firefox/Safari to display the .png favicon, while if the browser is IE, I want it to display the .ico format.How do i go about displaying it? My way of thinking was that if the .png link was at the top it would load first and if it didn't (IE) it would load the second.
 
Back
Top