Sunday, March 18, 2007

Inline favicon

pencil icon, that"s clickable to start editing the post
I another post Customize blog with favicon I added my custom favicon (at least for firefox users) and then I came to think that I could actually remove the dependency on my own server to hold the favicon by using the data uri scheme as shown in the post Inline image with data URI scheme. It's real easy and the image (replacing the the mimetype image/x-icon with the official image/vnd.microsoft.icon to better support the ico format, eventhough it doesn't make much sense since IE doesn't support the data uri scheme. Anyway here is the image:
Favorites Icon for Sweetxml, which is 'SX' in red on a white background
and it works nicely in firefox also when it's inserted in the header for a shortcut icon.

0 comments :