...

View Full Version : IE6 dublicating last letter after float



Jesper Møller
10-30-2010, 09:46 PM
Im setting up a page but im having a small wird problem whit EI6

I have some floated div's with some text in them. the last div's text ends with a x ... In IE6 this x show up agin under the div's, right over the line "Ther shud not be an X over this line"

Can annyone tell my why this happens ? and how i can get rid off it ??

Se the page here:
http://www.gynther-klanen.dk/hr/

auslin
10-31-2010, 12:44 AM
<div class="onethirdscollum rightside">
<div>
ONETHIRDS COLLUM CANVAS right x
</div>
</div>
<!-- TEST -->
<div>
Ther shud not be an X over this line
</div>
<!-- TEST -->

</div>
<div id="pushbottom"></div>
</div>
<!-- FOOTER -->
<div id="pagefooterwrap">
Footer
</div>

</body>

Looks like the IE6-only "Duplicate Characters Bug", caused by html comments between float siblings (last sibling pair only).
http://positioniseverything.net/explorer/dup-characters.html

Apart from the various fixes suggested there, you can do the obvious and just remove the offending html comments if they serve no real useful purpose. Or you could relocate the html comments back a little so they are just before the previous closing tag.

Jesper Møller
10-31-2010, 12:28 PM
Thanks :thumbsup:


I dont need the comments ... but i like to use them (Makes it easy to navigate large pages) ... so i think ill relocate them



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum