473,378 Members | 1,236 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,378 software developers and data experts.

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
1 1843

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: The Mess | last post by:
I recently made a UserControl consisting of buttons in a frame. The problem is that random strange markings appear sometimes under the buttons. They can be 'wiped off' with another window, and...
0
by: Charles Fineman | last post by:
I've been asked to look over an integration toolkit that has a bunch of schemas to specify message format. There are a couple of strange things I noticed right off the bat and I wanted to get...
0
by: thulsey | last post by:
Hi all, I've got some strange behavior happening in Firefox and Safari (Khtml and Gecko) that displays *almost* fine in IE6.0 (still trying to get pixels to line up, anal anal anal...) To...
7
by: M O J O | last post by:
Hi, I'm developing a asp.net application and ran into a strange css problem. I want all my links to have a dashed underline and when they are hovered, it must change to a solid line. Sounds...
0
by: Kris Vanherck | last post by:
yesterday i started getting this strange error when i try to run my asp.net project: Compiler Error Message: CS0006: Metadata file 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net...
6
by: Gary | last post by:
I have an application that has been working just fine for a couple of years. It queries a SQL database and returns some formatted data back to the client. I have a new client, who has a larger...
8
by: Spam Trap | last post by:
I am getting strange resizing problems when using an inherited form. Controls are moving themselves seemingly randomly, but reproducibly. "frmBase" is my base class (a windows form), and...
6
by: Joseph Geretz | last post by:
Writing an Outlook AddIn with C#. For the user interface within Outlook I'm adding matching pairs of Toolbar buttons and Menu items. All of the buttons and menu items are wired up to send events to...
112
by: Prisoner at War | last post by:
Friends, your opinions and advice, please: I have a very simple JavaScript image-swap which works on my end but when uploaded to my host at http://buildit.sitesell.com/sunnyside.html does not...
20
by: Pilcrow | last post by:
This behavior seems very strange to me, but I imagine that someone will be able to 'explain' it in terms of the famous C standard. -------------------- code -----------------------------------...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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.