curt22 Posted August 26, 2007 Share Posted August 26, 2007 I'm not sure this is the right catagory but, anyway I was wondering how can I make pngs that are transparent work in ie6 (they are in the css not the html). I have searched google and I have found a lot off webpages but I can't make it work right. Also I can't change the images to something not transparent because then they don't look right. Quote Link to comment https://forums.phpfreaks.com/topic/66703-transparent-pngs-in-ie6/ Share on other sites More sharing options...
boby Posted August 26, 2007 Share Posted August 26, 2007 I never had success using transparent PNGs in CSS, either use them as <img> tag in your HTML and a Javascript to make transparency (not the best method but anyway) or use transparent GIFs in your CSS. Quote Link to comment https://forums.phpfreaks.com/topic/66703-transparent-pngs-in-ie6/#findComment-334191 Share on other sites More sharing options...
curt22 Posted August 26, 2007 Author Share Posted August 26, 2007 Thanks boby but I don't know how to move them to <img> tags because I didn't write the code and it's to complicated for me to fix. If I don't get another answer I might post the code here and ask everyone to help me change the images to <img> tags. Quote Link to comment https://forums.phpfreaks.com/topic/66703-transparent-pngs-in-ie6/#findComment-334203 Share on other sites More sharing options...
redbullmarky Posted August 26, 2007 Share Posted August 26, 2007 as far as i know, boby is correct - PNG transparency in IE6 can only be "hacked" for non-background images. a google for 'iepngfix' will sort that one out. Normally, too, using background images as opposed to IMG are used for a reason - so using an IMG tag to do the same job really may not have the same effect, depending on what you're trying to do. have you got a link to a page where you're using these images? Quote Link to comment https://forums.phpfreaks.com/topic/66703-transparent-pngs-in-ie6/#findComment-334391 Share on other sites More sharing options...
Lamez Posted August 26, 2007 Share Posted August 26, 2007 just make the background of the image the color of the page you are placing it on. Quote Link to comment https://forums.phpfreaks.com/topic/66703-transparent-pngs-in-ie6/#findComment-334398 Share on other sites More sharing options...
curt22 Posted August 26, 2007 Author Share Posted August 26, 2007 have you got a link to a page where you're using these images? No because it's not done yet so i haven't put it on the internet. just make the background of the image the color of the page you are placing it on. I can't because some of the images are over top off other images so there is more than one color. Quote Link to comment https://forums.phpfreaks.com/topic/66703-transparent-pngs-in-ie6/#findComment-334580 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.