Forum Moderators: not2easy

Message Too Old, No Replies

Transparent Images on IE

Transparent Images

         

Jaec

7:22 pm on May 28, 2004 (gmt 0)

10+ Year Member



Hi all, what can I do for show transparent images on IE when I'm using a background image with CSS background property. I tried with png and gif formats but my image shows a gray background instead of the background defined in CSS.

Thanks a lot.

Joel

bunltd

3:15 pm on May 29, 2004 (gmt 0)

10+ Year Member



Hi, Joel and welcome to WebmasterWorld.

It sounds like the image is the problem. What program are you using to create the image? It sounds like you don't have it set to make the gray background transparent. Usually in the save/export function there's a eyedropper tool or somesuch that will allow you to specify which color is transparent (gif), what/how depends on your software.

Hope this helps.

LisaB

Jaec

5:26 pm on May 29, 2004 (gmt 0)

10+ Year Member



Hi Lisa,

I don't think so that is the problem. I'm using several programs like fireworks, photopaint, illustrator. I'm already defined a transparent color when I create a new document in the porgram. It works for Mozilla (gif and png) but not in IE.

Thank you very much.

Joel

bunltd

6:15 pm on May 29, 2004 (gmt 0)

10+ Year Member



Hmm, what's your css look like? Maybe a snippet would help.

LisaB

Jaec

12:04 am on May 31, 2004 (gmt 0)

10+ Year Member



Hi again,

This is the link of my website:

...my css code looks like this:
//////////////////////////////////////////////
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #336699;
background-image: url(/pruebas/newlook/imgs/1.jpg);
background-repeat: no-repeat;
background-position: center;
margin: 0px;
padding: 0px;
}
//////////////////////////////////////////////
... and the image that I want to be transparent is the logo in the top
it's contained in a img tag.

Mozilla FireFox shows the transparency but IE don't.

Joel

[edited by: Woz at 9:32 am (utc) on Aug. 9, 2004]
[edit reason] No URLs please, see TOS#13 [/edit]

jusdrum

4:47 am on May 31, 2004 (gmt 0)

10+ Year Member



IE doesn't support PNG transparency.

Jaec

3:14 pm on May 31, 2004 (gmt 0)

10+ Year Member



Ok, thanks.

Does IE support GIF transparency?

Joel

Alternative Future

3:43 pm on May 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>Does IE support GIF transparency?

Yeah sure does...

-George

Farix

12:09 am on Jun 1, 2004 (gmt 0)

10+ Year Member



IE doesn't support PNG transparency.

Actually it does. It supports binary transparency by default (just like GIF) and alpha-channel transparency with a filter.

Jaec

2:34 pm on Jun 2, 2004 (gmt 0)

10+ Year Member



>>Actually it does. It supports binary transparency >>by default (just like GIF) and alpha-channel >>transparency with a filter.

Hi,

I have the newest version of IE and I can't be able to show a transparency with png on IE, I don't know why.

Joel

pixelkat

8:09 pm on Jun 2, 2004 (gmt 0)

10+ Year Member



behold, an incredibly efficient IE-png transparancy work around that doesn't use javascript:

[daltonlp.com...]

brdwlsh

6:11 am on Jun 3, 2004 (gmt 0)

10+ Year Member



for what it's worth, IE 5.2 on Mac OS 10.2.6 supports png-24 transparency.