Floated Images Disappearing in IE6

Having made quite good progress developing a site, I added a right float to an image only to have it disappear completely in IE6 (running on a Windows 98 SE Virtual Machine, if you’re interested ;) ). After a bit of Googling, I discovered that the simple solution was to ensure that all images had their position set to relative in the CSS file. I.e. all that was required was:


IMG  {
position: relative;
}

Credit where credit is due, I found the solution on this blog.

Tags: ,

About Mike