IE6 the last three characters in a div are being repeated else where in the page? really weird
Hey, Basically i have an issues (in IE6) where the last three characters of a line of text in a div are being repeated further down the page even though they are only in the HTML once.
http://www.disturbmedia.com/jason/test/ please see the numbers in black, its always the last three characters that get repeated, so strange.
I have never seen this before, its only i开发者_开发百科n IE6? Anyone have any info?! Am super confused as to how this is happening.
Thanks Jason
IE6 had this strange bug involving multiple floated elements; text characters from the last of the floated elements are sometimes duplicated below the last float.
You may want to check the following article for further reading, fixes and possible workarounds:
- Explorer 6 Duplicate Characters Bug
The bug can be replicated with the following HTML:
<html><head></head><body>
<div style="float:left">
</div>
<div style="float:left">
</div>
<!-- Both comments must be here for bug -->
<!-- Both comments must be here for bug -->
<div style="float:left; width:100%">
Repeated characters
</div>
</body></html>
Source: Suspected bug in IE6, unwanted repeated characters
The error comes due to comments in HTML.
精彩评论