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

Strange behavior in Internet Explorer

I noted a particular behavior shown by IE. Look at the simple page
attached at the bottom of the post. In it, there is a box floated with
the float property and another box that jumps it with the clear
property.

Show the page in IE and highlight (using the mouse) some text in the
blue box (include some line on the side of the gray box).
Then click anywhere (out of the highlight zone).

RESULT: some text lines (on the side of the gray box) will disappear!

If this effect is not shown on the first shot, retry for two or three
times. If you want the vanished text to appear don't refresh the page:
nothing happens.
Instead, highlight some lines in the empty zone (left by the vanished
text).

Opera doesn't show this strange effect.

I would ask you only one thing: is it a knowed bug in IE? Or do I fail
something?

Thanks. Luigi.

------------- START OF HTML FILE ------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">

<HTML>
<!-- Generated by AceHTML Freeware http://freeware.acehtml.com -->
<!-- Creation date: 26/01/05 -->

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>Collaudo dei comandi CSS</TITLE>
<META NAME="description" CONTENT="Pagina contenente varie prove sui
comandi CSS">
<META NAME="keywords" CONTENT="CSS, HTML, layout, DIV">
<META NAME="generator" CONTENT="AceHTML 5 Freeware">
<META HTTP-EQUIV="Content-language" CONTENT="it-IT">

<LINK REL="StyleSheet" TYPE="text/css" HREF="collaudi.css">
</HEAD>

<BODY>

Questa frase(Û), posta (¦) direttamente nel body

<DIV id="fuori">
Questo è un blocco div e mi permetto di dire che la prima riga
ricevera' una formattazione particolare, mentre le altre rimarranno
del colore di default.
E il blocco conterrà pure un elemento . . . . . paragrafo: eccolo
oltre ad un elemento div:

<DIV class="dentro">
–ti piace?
</DIV>

invece qui avremo la continuazione del div principale.
In caso di utilizzo della proprietà float, invece, questo testo
apparirà consecutivo al testo che si trovava prima del box reso float.

<DIV id="titolo">
<B>titolo</B>
</DIV>

Ora cercheremo di capire la proprietà clear, vedendo come e' possibile
controllare il comportamento del flusso del testo in prossimità di
immagini. Quini collocheremo un blocco che dovrebbe spezzare il flusso
del testo a lato dell'immagine. Mi aspetto di vedere che il margine
effettivo disponibile per il
testo risulti ridotto dalla presenza dell'immagine.
</DIV>

Anche questa frase (¦) è posta nel (Û) body.

</BODY>

</HTML>

------------ END OF HTML FILE --------------
--------------- START OF STYLE SHEET --------------
/* At-Rules */
@charset "iso-8859-1";

html {
background-color: Yellow;
color: Black;

border-color: Red;
border-width: 5px;
border-style: solid;

margin: 10px;

padding: 15px;

/*
width: 500px;
height: 400px;
*/
}

body {
background-color: Lime;

border-color: Blue;
border-width: 10px;
border-style: solid;

margin: 20px;

padding: 30px;

/*width: 350px;*/
/*height: 800px;*/

}

#fuori {
background-color: Aqua;

border-color: Fuchsia;
border-width: 15px;
border-style: solid;

margin: 25px;

padding: 35px;

/* width: 600px; */
/* height: 100px; */

}

..dentro {
background-color: Gray;

border-color: Red;
border-width: 1px;
border-style: solid;

margin: 3px;

padding: 5px;

width: 200px;
float: left;
height: 110px;

}

#titolo {
clear: left;
}

/* End of style section. Generated by AceHTML at 01/02/05 23.43.38 */

-------------------- END OF STYLE SHEET ------------------
Jul 21 '05 #1
1 2763
Luigi wrote:
I noted a particular behavior shown by IE. Look at the simple page
attached at the bottom of the post. In it, there is a box floated with
the float property and another box that jumps it with the clear
property.

Show the page in IE and highlight (using the mouse) some text in the
blue box (include some line on the side of the gray box).
Then click anywhere (out of the highlight zone).

RESULT: some text lines (on the side of the gray box) will disappear!


See http://www.positioniseverything.net/.../peekaboo.html.
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Aaron Prohaska | last post by:
I have just run into a problem where I have a page that posts back to itself to execute code, except when the page does the post back it somehow executes code that is in our home page for the site....
4
by: Torsten Reiners | last post by:
Hi, it might be a simple solution but I do not see it. The problem is that I have the following file stored on my local harddrive. All references are URL to a remote computer. It is working,...
2
by: Olaf | last post by:
I have a frameset page witch contains the myFuc() function. The function is accessed from a page in one of the frames in the frameset. An example is shown below. <input...
4
by: Zhang Weiwu | last post by:
This is really very stange. I have a form like this: <form id="form_A"> xxxx </form> This form is on one page in a page of a web application, it is the only form on that page. on the end of...
3
by: marc.gibian | last post by:
I have a simple pair of ASP.NET pages, main.aspx and login.aspx. Main checks if there is an identity in the Session context, and if not does a Server.Transfer to login.aspx. So far, so good. Login...
5
by: Peter van der Veen | last post by:
Hi in VS.NET 2003 i've got problems with start pages. All the pages which should show pages from the internet (downlaods, headlines etc) gave me the following error. 'This feature requires...
3
by: ckirchho | last post by:
Halo, I am trying to realize a two column layout basically like this: <html> <head> <style> leftCol { float: left; width: 15em; }
7
by: lewisthesmith | last post by:
Hi everyone, I have been working on converting a site from a frames / tables layout to a CSS based one. I thought I had it all sorted, however I am getting some odd behaviour in IE: when I...
2
by: scdowney | last post by:
First and foremost, thank you in advance for any attempts to help me out. I am working on a project with work, and it requires I use CSS selectors to locate elements within a webpage. For the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...

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.