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

Top Posts & Pages

  • 8 Essential Things You Need For Perfect Gaming Setup
  • Best Completed Manga Series to Binge Read
  • The Only Geek Holiday Calendar You'll Need
  • 20 Video Games Where You Can Romance The Characters
  • Star Wars Emojis Now Available for Text Messaging

ForeverGeek © 2021 Splashpress Media