I have this problem going on with my design. It is driving me nuts because I have no idea what is causing. I have some div tags and a line of text. It looks like this
<div class="content">
<div class="sectioncontent">
<div class="header" align="right">
<span class="sectionheader">This Is The Header</span>
</div>
</div>
</div>
Now, this problem is only occuring in IE, not Firefox or Netscape, but this is what is happening. Quite simply, in IE it is repeating the line of text "this is the header" below the content div... so I have two lines of text on the page that say "this is the header" ... but its only in my code once... Now if I delete the line of text, the div goes crazy and is placed out of order... for the div to be placed properly, it needs to have content in the header div. But then it repeats the content, which in this case is text... and once again, if I delete the content, the div goes out of order... also, my div is aligned and positioned with css, using margins.
I found a page that talks about this problem in detail. Quite simply, my HTML comments were causing this bug. I have to use conditional comments to rid the problem
Bookmarks