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:ImageButto n ID="ExpandButto n" runat="server"
Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16"
CommandName="Se lect" AlternateText=" Click here to see
details"></asp:ImageButton >
When I change it to:
oExpand.imageUR L="../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. 4 2037
Not really a question about IE, I don't think.
Did you try setting the following properties:
borderstyle="no ne"
borderwidth=0
"tshad" <tf*@dslextreme .com> wrote in
news:er******** ******@TK2MSFTN GP10.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:ImageButto n ID="ExpandButto n" runat="server" Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16" CommandName="Se lect" AlternateText=" Click here to see details"></asp:ImageButton >
When I change it to:
oExpand.imageUR L="../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.
"cbDevelopm ent" <de*********@re move.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="no ne" 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******** ******@TK2MSFTN GP10.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:ImageButto n ID="ExpandButto n" runat="server" Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16" CommandName="Se lect" AlternateText=" Click here to see details"></asp:ImageButton >
When I change it to:
oExpand.imageUR L="../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.
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: "cbDevelopm ent" <de*********@re move.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="no ne" 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******** ******@TK2MSFTN GP10.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:ImageButto n ID="ExpandButto n" runat="server" Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16" >> CommandName="Se lect" AlternateText=" Click here to see details"></asp:ImageButton >
When I change it to:
oExpand.imageUR L="../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.
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:
"cbDevelopm ent" <de*********@re move.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="no ne" 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******** ******@TK2MSFTN GP10.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:ImageButto n ID="ExpandButto n" runat="server" > Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16" >> CommandName="Se lect" AlternateText=" Click here to see> details"></asp:ImageButton > > > When I change it to: > > oExpand.imageUR L="../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. > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 image has 4 transparent pixels; the upper left, upper right,
lower left & lower right. This is to help give the otherwise square button
graphic a slightly rounded look to it.
|
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 some controls that aren't rectangular and it won't be pretty if I
end up with a grey rectangle behind each one.
http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskGivingYourControlTransparentBackground.asp?frame=true
|
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 only problem is... well, it's not working.
I've tried everything I know, save the PNG with transparency, and saving as
a BMP and making it the form background then making the transparent key the
background color.. I did get it to work once, when I...
|
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 am generating, a
transparent background.
On the newsgroups - everyone points to this MSDN article: How to save a .gif
file with a new color table by using Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;319061
Even...
|
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 that is transparent"),
to be semi transparent instead. So, I've wrapped the image in a
div-tag with the style "opacity: .70" instead. This gives me pretty
much the semi transparency that I'm looking for, except that this makes
the entire image...
| |
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 cursor (hand)
and then I code the click_event for that label. However, I cannot make
the label transparent, even if I choose the Transparent option for the
attribute for the background color of the label. Any ideas or
suggestions?
Thanks
|
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 the transparency is working properly because if I save
the created image to the local hard disk and then view it in a web page or an
image editor, the transparency is correct. I can also view the transparency
on-the-fly in a Windows.Forms...
|
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 overkill, but you can see what I mean. The watermark
image (a png image) is included separately below the photo.
I tried using a class from phpclasses.org
<http://www.phpclasses.org/browse/package/1580.html...
|
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 background color to transparent.
.....
Protected Overrides Sub OnCreateControl()
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |