Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 11:48 PM
Rod
Guest
 
Posts: n/a
Default strange things

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


  #2  
Old July 20th, 2005, 11:49 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: strange things


"Rod" <infserv@club-internet.fr> wrote in message
news:40bf3f95$0$313$7a628cd7@news.club-internet.fr...[color=blue]
> 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[/color]
disappeared!![color=blue]
> 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!!!![/color]

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

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

 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles