Background Image PNG Fix


/ Published in: HTML
Save to your folder(s)

Use this for background images. Put it in conditional comments in the head of your doc.


Copy this code and paste it in your HTML
  1. <!--[if lte IE 6]>
  2. <style type="text/css">
  3. .shadow { background:none;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src="/img/bg-shadow.png", sizingMethod="image");background-repeat:no-repeat; }
  4. </style>
  5. <![endif]-->

Report this snippet


Comments


You need to login to view comments.