Forum Moderators: open
Just wanted to get your opinion on something.
I'm putting together a few sites and have noticed that for some reason IE6 places an unwanted background on transparent images and also a small border of the same colour around the image (approx. 5 pixels). All is fine in Firefox and IE8.
I'm coding with CSS - nothing fancy, just some background images. I wanted to sort this out before I moved onto the rollover images and sprites.
I've done lots of googling about this issue, but unfortunately submitting keywords like "border" and "IE6" brings up tons of stuff not related.
Any insights would be apprecaited.
Thanks,
Martin.
Do the documents validate [validator.w3.org]?
Images in question styled to border:none?
Images in question linked images, i.e. (pun intended) <a href=""><img></a> ? The border comes from the link, not the image, but setting border:none gets rid of it . . .
IE6 places an unwanted background on transparent images
File types? IE6 is unreliable with transparent .png's, sometimes they work, sometimes they don't, use transparent .gif?
IE6 is unreliable with transparent .png's, sometimes they work, sometimes they don't