WordPress.org

Support

Support » Themes and Templates » PNG IE Hack CSS Images

PNG IE Hack CSS Images

  • I’ve been working on getting my site to work in IE. One of the things that I’m running into is the .png hack. I have the .htaccess hack downloaded and referenced in my IE stylesheet, but it seems like you have to give the size of the image and there is a problem with tiling. Is there anyway to make my css .png background and wrapper images work in IE if they are in the stylesheet?
    Thank You,

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve been working on a new site lately and as much trouble as .png’s are I can’t stop using them. I’ve read everything I can possibly find on implementing .png fixes for IE and I’m currently using this http://koivi.com/ie-png-transparency/ php fix. However browsershots.org reveals that I’m still not getting transparency in IE. Especially the bullets in the sidebar. Any help would be greatly appreciated. Thank You.
    The site url is http://www.amakuavideo.com

    I’m using Justin’s hack as well, here: http://vkaryl.net/talespinner – to make the Taft theme “behave” in IE. It displays as it should in IE…. so not sure why you aren’t getting the result?

    Now on some versions of IE I’m not getting the images at all. Let me just go over my steps to make sure I implemented it correctly. I uploaded the replacePngTags.php into my theme folder, then I added <?php ob_start(); ?> to my header as the first thing inside my body tag and <?php
    include_once ‘replacePngTags.php’;
    echo replacePngTags(ob_get_clean());
    ?> to my footer as the last thing inside my body tag. Then I added the spacer.png to my images folder where the .png’s I want to display are found. That’s it right? When I browsed his example files I didn’t see the code above. Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PNG IE Hack CSS Images’ is closed to new replies.