0
BACKGROUND-IMAGE: url(../images/feedback_trans_tab.png);

_background-image: url(../images/feedback_tab_ie6.png)

I've seen code like this in a css file feedback_tab_ie6.png is 886 bytes and feedback_trans_tab.png has 1.64Kb Both pics have transparent backgrounds so that you can apply your own background color. Both look the same. yet in IE6 if I comment this line:

_background-image: url(../images/feedback_tab_ie6.png)

this appears:

alt text http://www.freeimagehosting.net/uploads/1ea66ad1b8.jpg and if I don't this appears: alt text http://www.freeimagehosting.net/uploads/d587c76db3.jpg

This happens for the same background-color value of course:

BACKGROUND-COLOR: #689BCA;

DOes anyone have any idea why this is? How can I turn a > ie6 picture into an ie6 picture from Photoshop? Thank you in advance

1 Answer 1

1

In IE6 there is no PNG alpha channel transparency support.

So for an image to appear partially transparent in IE6, you need a different image.

See this blog post about the issue.

5
  • I see, but how can I turn my regular image to a image that will display properly in IE6 from Photoshop?
    – Para
    Mar 13, 2010 at 19:36
  • See this blog from some options: 24ways.org/2007/supersleight-transparent-png-in-ie6
    – Oded
    Mar 13, 2010 at 19:40
  • It doesn't really say there how to make a ie6 transparent picture in photoshop
    – Para
    Mar 14, 2010 at 16:26
  • @Para - the link in my answer does explain it. You need to understand that a transparent PNG will not work in IE6 without additional steps, as described in both links.
    – Oded
    Mar 14, 2010 at 16:38
  • OK I understand this but in the example I saw. That works there were to different image files. Just like I explained above. I wanted to know how I could create an image file that displayed in IE6 the same as the creator of that example did.
    – Para
    Mar 15, 2010 at 7:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.