The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I am currently working on an site, that uses jQuery to fade in and fade out images when certain actions are made.
However in ie8, when the images fade in, they appear black at first.
What is cause this issue? and how can i fix it?
Do you have a link?
I think it will depend on how the opacity is being coded and added, I believe IE8 doesn’t support the rgba property, so something like this;
Will not be supported, however when you code it like this;
It will work, but it adds an overlay to the whole element, so if you had text on the image also, it would make that darker too.
This happens when you try to fadeIn or fadeOut a PNG image..
IE 7/8 is very bad in handling PNG transparency. (IE 6 ‘was’ the worst!)
Either use GIF images or you can try: iepngfix.htc found at:
Let us know if that helps.
Here is a link:
The problem happens in IE8 on Windows 7.
I checked the link out in BrowserStack (Windows 7, IE 8) and I didn’t see it going black. Weird. If it’s a huge problem, maybe you could make the images both big JPG’s (instead of PNGs as smaller parts) and transition the entire image.
I’ve often had problems where transparency in IE7/8 caused problems if the wrapping div of the elements in question did not have a background color.
Example: text that fades, or had a specific opacity value wouldn’t look smooth, unless I would give the element that contained the text an actual background color.
Worth a try, although I realize that might be difficult with your design.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed