This little piece of css makes it possible to use transparent png images also with Internet Explorer

This little piece of css makes it possible to use transparent png images also with Internet Explorer
 
<code class="prettyprint">
&lt;div style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='YourPngFile.png'); width: WIDTHpx; height: HEIGHTpx;"&gt;
   &lt;img src="YourPngFile.png" width="WIDTH" height="HEIGHT" style="filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)" alt="transparent png" title="transparent png" /&gt;
&lt;/div&gt;
</code>

Bookmark this!

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • Digg
  • Fark
  • Furl
  • MisterWong
  • NewsVine
  • Reddit
  • Spurl
  • StumbleUpon
  • TailRank
  • Technorati

Submit your comment

vision22.net

Copyright © 2007