• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

weird ie bug

okay, I'm looking for an explination as to -why- this is happening.  There's half a dozen things I know I can do to fix it, but I'm trying to avoid writing code that does the same thing in the future (it's the 3rd time it's happened to me).

open this in IE:

<html>
<body>
<style>
      .iTitle{
            width:            30%;
            font-size:        11px;
            float:            left;
      }
      .iItem{
            width:            70%;
            font-size:        11px;
            float:            left;
      }
</style>

<div class="iTitle"> </div>
<div class="iItem"> </div>

<div id="autoship" style="width:100%;display:none">
      <!--the length of visible content in this div determines the amount of "ghost" content that show up"-->
      blah blah
</div>

<div class="iTitle">"Ghosted Content"</div>
<div class="iItem"> </div>
</body>
</html>

fixes:
- remove float from iitem
- put <br> tags after the first iitem tag
- change iitem.width = 69%
0
cwolves
Asked:
cwolves
  • 2
1 Solution
 
ZylochCommented:
Hi cwolves,

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

Read on, in the middle, it reveals that it could be caused by other things than comments too!

Regards,
Zyloch
0
 
cwolvesAuthor Commented:
thx  :-)
0
 
ZylochCommented:
No prob, it was a learning experience for me too lol
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now