473,320 Members | 2,177 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,320 software developers and data experts.

CSS IE issue

Hi,
I have a form with multiple fields (textfields, drop downs etc.) I am
using CSS to pop up a box with an explanation for that field when a
particular field has focus. I am using layers (div tags) and the
z-index to do this. All is fine on Firefox. But on IE, when the pop up
box is over a drop down field, the drop down field is superimposed over
the pop up box which does not look good. Its works fine for text fields
etc. Is anyone aware of this issue and how I might correct it?
Thanks,
Harsh.

Mar 9 '06 #1
3 1206
> "aerotops" <hc******@gmail.com> wrote:
news:11********************@p10g2000cwp.googlegrou ps.com....

Hi,
I have a form with multiple fields (textfields, drop downs etc.) I
am using CSS to pop up a box with an explanation for that field
when a particular field has focus. I am using layers (div tags) and
the z-index to do this. All is fine on Firefox. But on IE, when the
pop up box is over a drop down field, the drop down field is
superimposed over the pop up box which does not look good. Its
works fine for text fields etc. Is anyone aware of this issue and
how I might correct it?


You could hide the select.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
function tellerror(msg, url, lnn){
alert('Error message= '+msg+'\nURL= '+url+'\nLine Number= '+lnn)
return true
}
window.onerror=tellerror
</script>
<script type="text/javascript">
function blip(b){
var a = document.getElementsByTagName('select');
for (var i=0, j=a.length; i<j; i++) {
a[i].style.visibility=(a[i].style.visibility=='hidden')?
'':'hidden';
}
b.childNodes[0].data=(b.childNodes[0].data=='hide')?'show':'hide';
}
</script>
<title></title>
</head>
<body>
<form action="javascript:void(this)">
<select>
<option>
one
</option>
<option>
two
</option>
<option>
three
</option>
</select>
</form>
<div style=
"width:200px;height:200px;position:absolute;top:0; left:25px;background-color:red;">
<p style="text-align:right;"><button onclick=
"blip(this)">hide</button></p>
</div>
</body>
</html>

Or you could use an Iframe

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
</head>
<body>
<form action="javascript:void(this)">
<select>
<option>
one
</option>
<option>
two
</option>
<option>
three
</option>
</select>
</form><iframe style=
"width:200px;height:200px;position:absolute;top:0; left:25px;"></iframe>
</body>
</html>
--
BootNic Thursday, March 09, 2006 3:40 PM

It's not that some people have willpower and some don't. It's that
some people are ready to change and others are not.
*James Gordon*

Mar 9 '06 #2
aerotops wrote:
Hi,
I have a form with multiple fields (textfields, drop downs etc.) I am
using CSS to pop up a box with an explanation for that field when a
particular field has focus. I am using layers (div tags) and the
z-index to do this. All is fine on Firefox. But on IE, when the pop up
box is over a drop down field, the drop down field is superimposed over
the pop up box which does not look good. Its works fine for text fields
etc. Is anyone aware of this issue and how I might correct it?


A well known issue, BootNic's suggested iFrame solution seems more
popular. There is a discussion here:

<URL:http://weblogs.asp.net/bleroy/archive/2005/08/09/422047.aspx>
--
Rob
Mar 9 '06 #3
aerotops wrote:
But on IE, when the pop up
box is over a drop down field, the drop down field is superimposed over
the pop up box which does not look good. Its works fine for text fields
etc. Is anyone aware of this issue and how I might correct it?


You can:
- Create your div inside an iframe
- Hide the control when showing the div
- Leave the tooltip out the input area =b
--
Now with alcohol <URL:http://youtube.com/watch?v=lnQTZxqxc10> =X
Jonas Raoni Soares Silva
http://www.jsfromhell.com
Mar 12 '06 #4

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

Similar topics

3
by: Paul Mateer | last post by:
Hi, I have been running some queries against a table in a my database and have noted an odd (at least it seems odd to me) performance issue. The table has approximately 5 million rows and...
7
by: George Hester | last post by:
Please take a look at this google artcle: http://groups.google.com/groups?hl=en&lr=&frame=right&th=55d6f4b50f5f9382&seekm=411f370d%241%40olaf.komtel.net#link9 The op was having trouble with...
2
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the...
0
by: Kevin Spencer | last post by:
Hi all, I am working on a service that uploads METAR weather information to the National Weather Service FTP site. The service I'm authoring is hosted on a Windows 200 server, and the NWS FTP...
2
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
4
by: Paul | last post by:
Hi, I've been struggling with this today, I'm developing a DotNet2.0 website in C# that needs to call a long running data query. Obviously this is a good candidate for an Asynchronous call, so...
1
by: AlekseyUS | last post by:
Hi, I'm a little stuck, I basically need to copy all the information within a specific file in Temp and append it to a file in another location. I'm not having any problems with smaller size...
13
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.