PNG IE Hack CSS Images (4 posts)

  1. med103
    Posted 10 years ago #

    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,

  2. med103
    Posted 9 years ago #

    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

  3. vkaryl
    Posted 9 years ago #

    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?

  4. med103
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic