473,385 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Is this a known IE 6 bug? (A bit like "peekaboo"?)

I'm posting here because this is associated with the behaviour of a floated
element. It has similarities to the IE 6 (on Windows) "peekaboo" bug, and I
suspect was written by the same coder having a bad-hair day.

http://www.barry.pearson.name/test/ie6_bug.htm

"Peekaboo" causes text in a "floatholder" to fail to be rendered. "My" bug
(which I am willing to sell for lots of money) causes part of a floated box to
suddenly disappear when a link in an *independent* box (*not* a floatholder)
is hovered!

The workaround is different, too. A "clearing" footer (even a null one) at the
bottom of the page avoids it. But it took me a long time to discover that!

(It is a tableless-layout, valid 4.01 Strict, valid CSS too. The bug occurs in
a variety of layouts. A key is that the floated box extends below the box with
the link. Any link causes this, not just a self-link as here).

Is it familiar?

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #1
3 2966
"Barry Pearson" <ne**@childsupportanalysis.co.uk> wrote in
news:Gd******************@newsfep1-win.server.ntli.net:
"Peekaboo" causes text in a "floatholder" to fail to be rendered. "My"
bug (which I am willing to sell for lots of money) causes part of a
floated box to suddenly disappear when a link in an *independent* box
(*not* a floatholder) is hovered!


I ran into it myself a couple weeks ago. It went away when I fixed up
something else (I had a left sidebar menu where I was giving the links a
width of 100% and setting padding on them, causing the list items to spill
slightly outside their percentage-sized floated container. I wanted to add
a right border and I changed the container's width units to em so I could
properly account for the padding (I'm not the first person here to wish
that CSS would allow expressions like "25%+1em"). Before I made the
change, though, hovering on one of the links on my top menu bar would make
half the side menu vanish).
Jul 20 '05 #2

"Barry Pearson" <ne**@childsupportanalysis.co.uk> wrote in message
news:Gd******************@newsfep1-win.server.ntli.net...
I'm posting here because this is associated with the behaviour of a floated element. It has similarities to the IE 6 (on Windows) "peekaboo" bug, and I suspect was written by the same coder having a bad-hair day.

http://www.barry.pearson.name/test/ie6_bug.htm

"Peekaboo" causes text in a "floatholder" to fail to be rendered. "My" bug
(which I am willing to sell for lots of money) causes part of a floated box to suddenly disappear when a link in an *independent* box (*not* a floatholder) is hovered!


I had something similar the other day. I floated a few <form>s inside a
<div>, *after* some introductory text, also inside the <div>. It was fine
until I gave the <div>'s style a background color--and then the text became
invisible. It still took up space, and when I dragged the cursor over it, it
became revealed. This happened even with "background-color: white;".

I had another one last week (see my earlier thread about floating <div>s in
a three-column display) where the top and bottom borders I specified for a
<div> that contained floating <div>s were drawn correctly. But when I'd
switch the focus to another application and then back to the browser, the
top border would have disappeared! I'm not used to renderings disappearing
upon IE losing and then regaining the focus--it usually doesn't have
repainting problems.

Jul 20 '05 #3
Harlan Messinger wrote:
"Barry Pearson" <ne**@childsupportanalysis.co.uk> wrote in message
news:Gd******************@newsfep1-win.server.ntli.net...
I'm posting here because this is associated with the behaviour of a
floated element. It has similarities to the IE 6 (on Windows)
"peekaboo" bug, and I suspect was written by the same coder having a
bad-hair day.

http://www.barry.pearson.name/test/ie6_bug.htm

"Peekaboo" causes text in a "floatholder" to fail to be rendered.
"My" bug (which I am willing to sell for lots of money) causes part
of a floated box to suddenly disappear when a link in an
*independent* box (*not* a floatholder) is hovered!
I had something similar the other day. I floated a few <form>s inside
a <div>, *after* some introductory text, also inside the <div>. It
was fine until I gave the <div>'s style a background color--and then
the text became invisible. It still took up space, and when I dragged
the cursor over it, it became revealed. This happened even with
"background-color: white;".

[snip]

I think that is classic peekaboo - your problem was with the floatholder. I
believe the theory is that IE 6 still has the text there in some sense, but
"behind" the background colour. (I've given the div a line-height of 1.2,
which is one of the workarounds - Matthew Somerville. The "Holly Hack" didn't
work properly for me - it shifted the div *sideways* a few pixels, in spite of
being to do with setting *height*).
I had another one last week (see my earlier thread about floating
<div>s in a three-column display) where the top and bottom borders I
specified for a <div> that contained floating <div>s were drawn
correctly. But when I'd switch the focus to another application and
then back to the browser, the top border would have disappeared! I'm
not used to renderings disappearing upon IE losing and then regaining
the focus--it usually doesn't have repainting problems.


Chuckle! I have this nightmare that the only people in the world who can see
my tableless pages are those using one of the 5 browsers I use, and also using
W2000 on a Vaio laptop. And then only during the day, UK time. Change one
variable, and ....

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eddy Stone | last post by:
Apologies in advance... I am sure this question will have been asked before in some form or another - please don't flame me ! I am new to creating webpages - is there a website where I can "view"...
2
by: Philip Herlihy | last post by:
I'm getting this bizarre effect in IE6 (not in Firefox, etc). When you hover over the "back" or "next" links, adjacent images are cropped at that vertical level and the page redisplays with that...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.