Tutorial :IE6 the last three characters in a div are being repeated else where in the page? really weird



Question:

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 in IE6? Anyone have any info?! Am super confused as to how this is happening.

Thanks Jason


Solution:1

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:


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


Solution:2

The error comes due to comments in HTML.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »