Solved

weird ie bug

Posted on 2004-10-01
3
169 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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 the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

776 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