Grumpy Monkey

Quick fix for for feed.png in IE6

Internet Explorer 6 is still out there and we still have to deal with it. Yucky, I know, but wouldn't life be dull if it was all too easy?

If your theme is using a non-white background, here's a quick fix to display the syndication icon in all its rounded-corner loveliness:

a.feed-icon img {
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}
a.feed-icon {
display: inline-block;
width: 16px;
height: 16px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/misc/feed.png');
}

Just pop this in your IE6 style-sheet. If you haven't set one up, this is what I do: create a folder/directory in my custom theme called ie and put any IE stylesheets in there.

For example, in this site's theme I have just one, is_ie6.css.

Then I put this in the <head> section of my page.tpl.php:

<!--[if IE 6]>
<link rel="stylesheet" href="<?php print $base_path . $directory ?>/ie/is_ie6.css" type="text/css" media="screen" charset="utf-8" />
<![endif]-->

BlogDrupalInternet ExplorerCSS