favicon is pixelated in IE
I have created a 16x16px favicon for a website, but I am getting complaints that IE pixelates it. should I have a larg开发者_高级运维er size? is their a way to use multiple sizes? What is best practice?
Just use a 32x32 one, the other browsers will resize it on their own.
I don't understand what "IE pixelates it" means.
In most locations, IE shows FavIcons @ 16x16, so sending a 16x16 icon isn't going to break anything.
However, keep in mind that IE uses the ICO file type because it can hold multiple image sizes. You should consider sending both a 16x16 and a 32x32 icon in the same file, so that in the few contexts where larger icons are shown (e.g. desktop shortcut creation, pinned sites in Win7, etc) you have a nice high-resolution image available.
精彩评论