Solved

weird ie bug

Posted on 2004-10-01
3
167 Views
Last Modified: 2010-04-09
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
Comment
Question by:cwolves
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 500 total points
Comment Utility
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
 
LVL 9

Author Comment

by:cwolves
Comment Utility
thx  :-)
0
 
LVL 36

Expert Comment

by:Zyloch
Comment Utility
No prob, it was a learning experience for me too lol
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now