Re: Transparent Gif not working in IE

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: tshad (tscheiderich_at_ftsolutions.com)
Date: 11/17/04


Date: Wed, 17 Nov 2004 13:29:03 -0800


"cbDevelopment" <development@remove.700cb.net> wrote in message
news:Xns9591E4DEC4400cbDevelopment@207.46.248.16...
> Not really a question about IE, I don't think.
>
> Did you try setting the following properties:
>
> borderstyle="none"
> borderwidth=0

Tried that, but it doesn't seem to work. There is some stuff on the net
talking about IE's problems with PNG, but I haven't been able to get them to
work for me, either.

I tried saving the image as a gif (Paint Shop Pro 8) and I can't seem to
make it work in either Mozilla or IE. It shows with a white area around the
image now in both browsers.

Tom
>
> "tshad" <tfs@dslextreme.com> wrote in
> news:erA#EmXvEHA.4020@TK2MSFTNGP10.phx.gbl:
>
>> I have some transarent gifs (actually PNG files) that are not working
>> in IE. They work fine in Netscape and Mozilla. In IE the following
>> shows a grey border around the figure (which should be transparent.
>>
>> <asp:ImageButton ID="ExpandButton" runat="server"
>> Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16"
>> CommandName="Select" AlternateText="Click here to see
>> details"></asp:ImageButton>
>>
>> When I change it to:
>>
>> oExpand.imageURL="../images/transparent.png"
>>
>> Which is nothing but a transparent background. When it returns, it
>> has a grey square?
>>
>> Why doesn't IE handle this correctly?
>>
>> Thanks,
>>
>> Tom.
>>
>>
>>
>


Quantcast