?
Solved

weird ie bug

Posted on 2004-10-01
3
Medium Priority
?
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 2000 total points
ID: 12203181
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
ID: 12203318
thx  :-)
0
 
LVL 36

Expert Comment

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

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Suggested Courses

752 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