473,320 Members | 1,953 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,320 software developers and data experts.

IE8 Alpha Transparency not Working

194 100+
Hello,

I am using the following method in CSS to make a PNG image transparency preserved:

Expand|Select|Wrap|Line Numbers
  1.  
  2.     opacity:0.5;
  3.     filter:alpha(opacity=50);
  4.  
  5.  
This works fine in Firefox, Chrome but not in IE8. I have also adaded behavior to the css file in the body rule which is as follows:

Expand|Select|Wrap|Line Numbers
  1.  
  2. body{
  3. div, img{
  4. behavior: url(images/iepngfix.htc);
  5. }
  6.  
and added necessary files i.e. blank.gif and iepngfx.htc which is working in other browsers except IE8. please tell me wat i can do to have my image transparent in IE8.

Thanking you.

}
Jan 11 '10 #1
8 8469
drhowarddrfine
7,435 Expert 4TB
behaviors no longer work in IE8.
Perhaps this this answers your question.
IE is the worst browser on the planet.
Jan 11 '10 #2
mfaisalwarraich
194 100+
I have already gone through it. and i have read some post at the IE site. i tihnk opacity is not supported in IE8. But i wonder the things which were working in IE6 and IE7 not working in IE8. this is really ridiculous.
Jan 11 '10 #3
Frinavale
9,735 Expert Mod 8TB
Just tested opacity/Filter:alpha(opacity) in IE8 and it works fine...here's the
W3Schools link that I used to do so.

-Frinny
Jan 12 '10 #4
drhowarddrfine
7,435 Expert 4TB
Just noticed your post, Frinny. W3Schools has nothing to do with the W3C and is totally unrelated.
Mar 4 '10 #5
Frinavale
9,735 Expert Mod 8TB
I know that, but it's helpful in getting things to work sometimes :)
Mar 4 '10 #6
drhowarddrfine
7,435 Expert 4TB
Yeah but you called it a W3C link which might confuse others.
Mar 4 '10 #7
Frinavale
9,735 Expert Mod 8TB
Ahh I see, I changed it :)
Mar 4 '10 #8
drhowarddrfine
7,435 Expert 4TB
Still not right. It's W3Schools not W3CSchools.
Mar 4 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: John Morey | last post by:
Im currently working on a Windows Form application in C# under .Net , the graphic designer I intend to work with asked me if I would be able to accomidate PNG style alpha transparency in images and...
1
by: Kuba Florczyk | last post by:
Hi I've got a flash.ocx on a form in which i want play a movie, under this movie i've got a image. Everything is ok, but in flash movie some objects got alpha <> 100 and thru flash i should see...
8
by: Joseph Haig | last post by:
Can someone please help me with a problem I have with using alpha transparency in Internet Explorer. I use a php script to determine the browser and if it is found to be Internet Explorer, the...
3
by: Marek Mänd | last post by:
This posting will express my concern about the future of css3 forthcoming recommendation. I think for long time now, that the current implementation of CSS attribute opacity is less than usable...
7
by: Steve Jorgensen | last post by:
Hi all, Well, MS finally got the best of all worlds with the way the new message popup works in Outlook 2002. Does anyone know how a similar custom popup could be implemented from VBA, or if...
0
by: Bruno Zarokian | last post by:
Is it possible to put RGBA bitmaps in an ImageList with the designer ? I'm trying to put some PNG bitmaps with alpha in an ImageList with the designer, but it seems to convert the bitmaps in BMP...
18
by: Andrew Christiansen | last post by:
Hey all. The images I create in photoshop with semi-transparent pixels (for instance in Photoshop text with a dropshadow with a transparent canvas) I've been saving in PNG format and then using...
2
by: David | last post by:
Hello... i want to draw on my form PNG file with alpha-blended transparency. so i use this code: Graphics canvas = e.Graphics; Image Image = Image.FromFile(@".\Dragon.png"); ...
6
by: tommaso.gastaldi | last post by:
In a previous post I have been asking about a way to test Alpha Transparency. Bob and Michael have kindly provided some ideas. Here I would like to share the function I have prepared, for the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.