HighDots Forums  

strange things

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss strange things in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rod
 
Posts: n/a

Default strange things - 06-03-2004 , 11:11 AM






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



Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: strange things - 06-03-2004 , 11:13 AM







"Rod" <infserv (AT) club-internet (DOT) fr> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.