Forum Moderators: not2easy

Message Too Old, No Replies

IE 6 bug repeating content of div at page bottom

         

SBee

3:44 pm on Jun 25, 2008 (gmt 0)

10+ Year Member



I remember finding a solution to this in the past, and now I cannot remember what I did. In IE 6, everything renders correctly, except at the very bottom of the page it has pulled some of the text from the last sentence of my main div and repeated it at the very bottom of the page.

help.
Thanks-
Shawna

SBee

3:56 pm on Jun 25, 2008 (gmt 0)

10+ Year Member



Now I remember - IE6 does not like <!--comment--> tags between floated divs, so it will repeat the text below sometimes out of anger.

fyi, in case anyone else runs into this...

4css

5:40 pm on Jun 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Sbee,

this is how I do my comments as i always mark the closing of my divs, and this works with floated divs.

<!--close wrapper div--></div>

If you put the comment within the div, before the closing or after the opening, you should be ok. If it is outside of the div, that is where you will run into problems. Such as: </div><!--close wrapper div-->

Hope this helps!

4~css!

edit 4~css replacement of text