IE Dead pixels when fading images – solution that worked!

IE Dead pixels when fading images – jQuery Forum

Ever had this problem?

Hi,
When I”m trying to fade images using either .fadeto or .fadeIn/Out, I get dead pixels.
This happens on both IE7 and IE8.
I tried looking around for a solution, but nothing works.

The problem is due to colour #02050a which appears as transparent in IE when fading images.
Google search for #02050a and you’ll find a lot of people with the same problem.
One solution is to edit the images and replace all pixels of colour #02050a with #02050b (for example).
This bug happens with png and jpg, but more often in jpg because of compression, and it is a lossy format. This means that even if your original image does not contain #02050a, it may do after saving it as a jpg. png files are lossless so the colours will stay exactly as you they are.. but larger file sizes.

Advertisements

~ by WPA Staff on April 5, 2012.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: