473,545 Members | 1,118 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="backgrou nd: url(xx.gif) repeat-y;">
<div>
<img style="float:le ft" border="0" src="xx2.gif" >
this is a text which disappear
</div>
<div style="clear:bo th"></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 1851

"Rod" <in*****@club-internet.fr> wrote in message
news:40******** *************@n ews.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="backgrou nd: url(xx.gif) repeat-y;">
<div>
<img style="float:le ft" border="0" src="xx2.gif" >
this is a text which disappear
</div>
<div style="clear:bo th"></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
2757
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 re-marked also with other windows (by dragging them over). Anyone know the problem and/or the cure? Otherwise things seem to work good. I have been...
0
1670
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 others' thoughts on it (disclaimer, obviously I'm no XML expert so forgive me if these are basic). --------Exhibit A: The start of a response...
0
1689
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 speed things up, and to avoid any problems with looking through the css file, I'll say first that I based the navigation menu on the "Suckerfish...
7
1654
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 simple, but it's not working. I've cooked down my output code to show you what I mean. If you run the code below, there's no line under the link,...
0
328
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 files\spsweb\0e3514bf\cb1844e7\assembly\dl2\3b163f 16\00452d31_84e5c301\infragistics.webui.ultrawebgrid.v3.dll' could not be found
6
1688
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 database than any of our previous customers. For example, the query to build the datatable now takes about 2 minutes instead of one minute or less....
8
6678
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 contains a few controls anchored to the sides of the form. "frmChild" inherits from "frmBase"... and the controls appear on the inherited form as...
6
2254
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 the same method (aka delegate?). I use the Tag property within this method to determine what user action is taking place. Very simple: When...
112
4590
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 work. To rule out all possible factors, I made up a dummy page for an index.html to upload, along the lines of <html><head><title></title></...
20
2206
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 ----------------------------------- #include <stdio.h> int main (void) { char xx="abcd"; char * p1 = xx;
0
7649
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5960
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4940
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3437
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
692
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.