473,382 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Transparent Gif not working in IE

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.
Nov 18 '05 #1
4 2021
Not really a question about IE, I don't think.

Did you try setting the following properties:

borderstyle="none"
borderwidth=0

"tshad" <tf*@dslextreme.com> wrote in
news:er**************@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.


Nov 18 '05 #2
"cbDevelopment" <de*********@remove.700cb.net> wrote in message
news:Xn***************************@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" <tf*@dslextreme.com> wrote in
news:er**************@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.

Nov 18 '05 #3
I also have the same problem. It would be nice if IE had proper support
for PNG files but alas, it does not. There's not really much you can do
about it until MS decides to properly support the graphic format.

James

tshad wrote:
"cbDevelopment" <de*********@remove.700cb.net> wrote in message
news:Xn***************************@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" <tf*@dslextreme.com> wrote in
news:er**************@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.


Nov 18 '05 #4
I'm also having problems viewing png files with IE. They show up fine on
other computers with IE. There must be a setting somewhere that fixes this.

"James Thomas" wrote:
I also have the same problem. It would be nice if IE had proper support
for PNG files but alas, it does not. There's not really much you can do
about it until MS decides to properly support the graphic format.

James

tshad wrote:
"cbDevelopment" <de*********@remove.700cb.net> wrote in message
news:Xn***************************@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" <tf*@dslextreme.com> wrote in
news:er**************@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.
>
>
>


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: eruess | last post by:
Here's the scenario: I've got a whole bunch (for the sake of argument, let's say thousands) of different little 32x14 .png files that act as buttons all over a very large website. Each button...
8
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making...
2
by: thowle | last post by:
Okay, here is what I have, I designed a GUI that has rounded edges at the top (left and right). I want them to be transparent (Like Windows XP is when you have the Luna themes enabled). The...
9
by: RCS | last post by:
I'm working on an ASP.NET webpage that generates an image (and am using VWD 2005 until my copy of VS2005 ships). I have done all the obvious (and not-so-obvious) things to try to give a gif that I...
2
by: Trond Michelsen | last post by:
Hi. I have a transparent PNG-image that I would like to display on top of the rest of the web page. I've already got this part working. But, I'd like the background (as in "the part of the image...
8
by: MikeB | last post by:
Hi, I created a picturebox with a map as an image. I want to make certain areas on the map clickable hotspots and the way I'm trying to do this is to create a transparent label with a different...
4
by: Dale | last post by:
I am creating GIF images with transparent backgrounds on-the-fly for a web app and rendering them by using System.Drawing.Image.Save(Response.OutputStream, ImageType.GIF). I am confident that...
9
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of...
3
by: NickP | last post by:
Hi there, I have a usercontrol that inherits from Windows.Forms.Button. In the OnCreateControl method I set the style of the control so that it supports transparent backcolor and set the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.