Forum Moderators: open

Message Too Old, No Replies

IE 6 Image Display Bug

Anyone found a solution to this yet?

         

balinor

1:52 pm on Dec 29, 2003 (gmt 0)

10+ Year Member



I've had a small annoyance for a while now, the bug with IE6 occasionally not displaying transparent gifs. Saw a post here a while back about it, but no solution was mentioned. Anyone come across a fix for this yet? Thanks in advance!

tedster

3:28 pm on Dec 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you been able to pin down the difference between when the image is displayed and when it isn't? One condition where IE has trouble displaying images of all kinds is in a floated div - and the work-around for that is declaring an explicit line-height.

balinor

1:57 pm on Dec 30, 2003 (gmt 0)

10+ Year Member



Seems to happen with transparent gifs used as spacers, and I can't narrow down any formatting to the gif that makes a difference, it seems to happen totally at random, to my own sites as well as countless others.

korkus2000

2:00 pm on Dec 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could the issue be the size of the gif. I know in the past ie had a problem with 1px x 1px transparent gifs. Try using a 2px x 1 px gif and see if that helps.

phoenix09

10:37 pm on Jan 3, 2004 (gmt 0)

10+ Year Member



Have you tested this problem by replacing the transparent gif with a colored one that you can see on the page, same exact size and name, try that and see if the problem is IE not displaying it, or if it's how IE is treating the image, maybe it's right next to the thing you're trying to move, for example, only you can't see that because it's only a pixel wide, but actually present.

I don't use transparent gifs anymore for reasons like this, it's easier creating spacing with margins on blocklevel HTML elements with CSS, much easier to maintain sitewide.

You have to be careful though since Netscape 4x has a lot of very serious problems with margins, especially on table cells.

Divs are pretty safe though.