ForeverGeek logo

  • Features
  • Cool Stuff & Geekery
  • Movies & TV
  • Anime & Comics
  • Games
  • More!
    • General
    • About ForeverGeek
    • Contact
    • Affiliate & Referral Links
    • Terms & Privacy

Making PNG work for MSIE

March 12, 2004 by JC

Tired of not being able to use transparency in your PNG files? There’s a way to do it, but it’s a bit of a pain to do over and over again:

<img src=”blank.gif” style=”width: 100px; height: 100px; filter:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’image.png’, sizingMethod=’scale’)” />

And now, you don’t have to. How’s this sound:

img { behavior: url(“pngbehavior.htc”); }

You like? Go here.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Filed Under: General

Some of the links in our posts are affiliate links. That means we may earn a small amount when you make a purchase when clicking our links – at no extra cost to you. This helps us to carry on dishing up geeky stuff. Thank you!

Top Posts & Pages

  • 10 Of the Best Hobbies for Geeks
  • Best Completed Manga Series to Binge Read
  • 8 Essential Things You Need For Perfect Gaming Setup
  • 10 Anime Eye Patch Girls
  • 20 Video Games Where You Can Romance The Characters

ForeverGeek © 2021 Splashpress Media