Crazy IE bug of the day

This is a new one. It crept up and bit me in the ass today:

Internet Explorer 6 has a puzzling bug involving multiple floated elements; text characters from the last of the floated elements are sometimes duplicated below the last float. This bug is a real headbanger because there seems to be nothing triggering it. However, by now everyone should know that IE needs no excuse to misbehave.

The direct cause is nothing more than ordinary HTML comments, such as, <!– end left column –>, sandwiched between floats that come in sequence. Apparently, the comments are hard for IE to digest when they occupy those positions, resulting in a kind of “screen diarrhea”.

IE never ceases to find new and creative ways to fux0r nice, clean, standards-compliant code!

Comments are closed.