Web DesignBrowsers

IE6 Duplicate Content Bug

When you have text mysteriously repeating after a series of floated elements in Internet Exploder 6, the general consensus is that it is due to comments being sandwiched between floats, as explained here:

http://www.positioniseverything.net/explorer/dup-characters.html

However, when I faced this problem today, I systematically removed all of my comments from my html, and the problem still persisted. I also tried adding a 3px negative right margin to the element as the above article recommended, as well as ‘display:inline;’ with no luck. So, still not knowing the issue, I took a stab at a solution, and it worked.

I applied the style ‘position: relative;’ to the element containing the repeated text. (Not the element that contains the unwanted text, but the original text.)

As with other positioning bugs, this one seems to be rectified with relative positioning. As for the actual cause of my repeated content as separate from the usual cause of float-sandwiched comments, I guess it will remain a mystery.

4 Responses to “IE6 Duplicate Content Bug”

  1. mocambo says:

    Dear Author http://www.moonkatcreations.com !
    In my opinion you are not right. I am assured. I can defend the position.

  2. andy_crow says:

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  3. My says:

    Title…

    Very interesting post. I would like to link back to it….

  4. Diego Fleury says:

    It’s work for me.
    display: inline fails and my html code don’t have html comments.
    Thank You!

Leave a Reply

“Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering”

—Master Yoda

I'm a web designer and writer based out of Nashville, TN, where I live with my husband, step-daughter, and chihuahua.

moonkatcreations at gmail dot com