Duplicate characters bug without comments

Setting up a row of floats in Explorer 6 can lead to a plethora of erratic behavior, namely duplicate characters; in this bug report, I go into detail on some pure-CSS triggers which can make these extra characters appear, examples on how the bug is triggered, and different ways to combat it.
Note that these bugs are not caused by comments in your XHTML, as is the well known original Duplicate Characters Bug.

Test page Workaround is included
Reported by: Agent EQzE.

(Orphaned), Explorer 5-6 Windows | Reported on 8 December 2004.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)

1 Posted by Hernan Fino on 11 July 2006 | Permalink

I found a solution by myself... I dunno if it really work under others circunstances, but it worked for me.
I add on the HTML a empty div where the duplication takes place and a class for that div on the CSS:

.dupfix {
float: left;
width: 1px;
height: 0px;
line-height: 0px;
visibility: hidden;
width: 0px doesnt work. If removes the float: left also doesnt work.

Hope it helps to others that have that annoying bug


Hernan Fino, from Argentina

2 Posted by Simeon on 31 January 2008 | Permalink

NOTE: This bug also appears on IE7! Hernan Fino's solution worked, I put the div.dupfix in the floating wrapper which duplicated character(s).

IE 7.0.5730.13