My family has been buying Mac's since I no longer do their Windows tech support. Now I'm Apple Tech support. Can't win.

Images disappear in IE6, part 2

Let me start out by saying I really HATE Internet Explorer 6. Yes, I know you do too. Microsoft needs to make everyone upgrade. Period. No excuses. No whining, just make them do it. It should be a required update. Now that I’m done with my rant, on to the subject of this post.

I wrote previously about the Internet Explorer 6 disappearing image problem, and its solution:

position:relative;

but even then that sometimes doesn’t fix the problem. In those instances, usually when a background image is placed on paragraph, you can use:

height:1%

IE6 reads/interprets height as min-height. I have seen it used like this:

p {

_height:1%;

}

The underscore makes it so IE6 is the only web browser to see it.

One Response to “Images disappear in IE6, part 2”

  1. I have been fooling around with websites for a while and this was the first time I had disappearing images with IE6. I had no red X or anything. This fix worked great, just found another great blog to follow. Thank you.

    Bryan