By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,662 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

strange things

P: n/a
Rod
Hi,

It happens something strange with IE 6 (not with N7, Mozilla...).
I want a div with a background picture.
Within it, I want a picture with a text floating.

With IE, the text is not always displayed, sometimes you need to....click
with the mouse on the text to see it!!!
Or sometime it appears, but if you go to open another window (from another
appication for example) and come back to the IE window, it has disappeared!!
Actually, the thing is, when you acces the page, you see that the text is
displayed FIRST, then the background picture which hide the text (it does
not make sense), and only with IE.

Here is the easy html code:
<div style="background: url(xx.gif) repeat-y;">
<div>
<img style="float:left" border="0" src="xx2.gif" >
this is a text which disappear
</div>
<div style="clear:both"></div>
THIS IS ANOTHER TEXT
</div>
one thing: if you remove: THIS IS ANOTHER TEXT, it works!!!!

any idea?

Rodolphe
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Rod" <in*****@club-internet.fr> wrote in message
news:40*********************@news.club-internet.fr...
Hi,

It happens something strange with IE 6 (not with N7, Mozilla...).
I want a div with a background picture.
Within it, I want a picture with a text floating.

With IE, the text is not always displayed, sometimes you need to....click
with the mouse on the text to see it!!!
Or sometime it appears, but if you go to open another window (from another
appication for example) and come back to the IE window, it has disappeared!! Actually, the thing is, when you acces the page, you see that the text is
displayed FIRST, then the background picture which hide the text (it does
not make sense), and only with IE.

Here is the easy html code:
<div style="background: url(xx.gif) repeat-y;">
<div>
<img style="float:left" border="0" src="xx2.gif" >
this is a text which disappear
</div>
<div style="clear:both"></div>
THIS IS ANOTHER TEXT
</div>
one thing: if you remove: THIS IS ANOTHER TEXT, it works!!!!


Sounds like the IE peek-a-boo bug. See the explanation and work-around at

http://www.positioniseverything.net/.../peekaboo.html

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.