467,074 Members | 961 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

strange things

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
  • viewed: 1678
Share:
1 Reply

"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.

Similar topics

reply views Thread by Charles Fineman | last post: by
7 posts views Thread by M O J O | last post: by
reply views Thread by Kris Vanherck | last post: by
6 posts views Thread by Gary | last post: by
20 posts views Thread by Pilcrow | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.