473,699 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS display blocks and select lists in IE

Hi,

I have CSS based popup menus which display over a select list.
Everything works fine with Mozilla and Firefox but in IE the select list
is always on top of the display block. The z-index as no effect in IE.
This behaviour is confirmed by
http://www.blooberry.com/indexdot/cs...ion/zindex.htm
The HTML listing below shows an example of a list display block that is
covered by the select list in IE.

Is there any work-around or method of getting the display block to
display over the select list?

Thank you in advance,
Amish
------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head >

<style type="text/css"><!--

ul.menu1 {
background-color: red;
color: blue;
list-style: none;
display: block;
position: absolute;
z-index: 10;
}

--></style>

<body>

<ul class="menu1">
<li>ABC12345</li>
<li>DEF12345</li>
<li>GHI12345</li>
<li>JKL12345</li>
<li>MNO12345</li>
<li>PQR12345</li>
</ul>

<form method="post" action="http://localhost/cgi/script"
enctype="multip art/form-data">
<select class="selectio n1" name="optionlis t" size="5" multiple="multi ple">
<option value="ITEM1">I TEM1</option>
<option value="ITEM2">I TEM2</option>
<option value="ITEM3">I TEM3</option>
<option value="ITEM4">I TEM4</option>
<option value="ITEM5">I TEM5</option>
<option value="ITEM6">I TEM6</option>
<option value="ITEM7">I TEM7</option>
<option value="ITEM8">I TEM8</option>
</select>
</form>

</body></html>
------------------------------------------------------------------
Jul 20 '05 #1
1 9118
Amish <am***@earth.mi lky.way>
(news:cd******* ***@ctb-nnrp2.saix.net) wrote:
Hi,

I have CSS based popup menus which display over a select
list.
Everything works fine with Mozilla and Firefox but in IE
the select list is always on top of the display block.
The z-index as no effect in IE. This behaviour is
confirmed by
http://www.blooberry.com/indexdot/cs...ion/zindex.htm
The HTML listing below shows an example of a list display
block that is covered by the select list in IE.

Is there any work-around or method of getting the display
block to display over the select list?
No.
Thank you in advance,
Amish
------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"><head >

<style type="text/css"><!--

ul.menu1 {
background-color: red;
color: blue;
list-style: none;
display: block;
position: absolute;
z-index: 10;
}

--></style>

<body>

<ul class="menu1">
<li>ABC12345</li>
<li>DEF12345</li>
<li>GHI12345</li>
<li>JKL12345</li>
<li>MNO12345</li>
<li>PQR12345</li>
</ul>

<form method="post" action="http://localhost/cgi/script"
enctype="multip art/form-data">
<select class="selectio n1" name="optionlis t" size="5"
multiple="multi ple"> <option value="ITEM1">I TEM1</option>
<option value="ITEM2">I TEM2</option>
<option value="ITEM3">I TEM3</option>
<option value="ITEM4">I TEM4</option>
<option value="ITEM5">I TEM5</option>
<option value="ITEM6">I TEM6</option>
<option value="ITEM7">I TEM7</option>
<option value="ITEM8">I TEM8</option>
</select>
</form>

</body></html>
------------------------------------------------------------------

Jul 20 '05 #2

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

Similar topics

0
1646
by: sjonnalagadda | last post by:
Hello All, By default Mysql select statement displays column names header only once at the first row. I want the column names for the select statment to be displayed after every say 15 rows of display. ( This is very much equal to set line size 15 in oracle) . can any one Help ASAP. Thanks in Advance.
3
18584
by: Iain Hallam | last post by:
Hi. I've been using display:none on the style property of some <option> elements in my forms, which works fine with Mozilla - as expected it removes the option from my dropdown (although it still exists in the code). Is there an equivalent in IE? The reasoning behind this is that I want users to rank objects using a <select> for each place (see below), and to remove the choice of earlier objects from <select> drop-downs later in the...
5
2170
by: Haines Brown | last post by:
A much discussed issue, but I'm unable to get results. Using galeon as browser. I have a div, the bottem border of which is solid and serves as a base line. My aim is to line up next to each other on the left three block elements ("bouton") on top of the base line. Here's what I tried: #aa, #bb, #cc {width: 140px; padding-top: 3px; display: inline;}
26
2717
by: brenocon | last post by:
Hi all -- Compared to the Python I know and love, Ruby isn't quite the same. However, it has at least one terrific feature: "blocks". Whereas in Python a "block" is just several lines of locally-scoped-together code, in Ruby a "block" defines a closure (anonymous function). To avoid confusion let's call them Ruby block-closures. I see them as just a syntax for defining
2
2142
by: flyzone | last post by:
Goodmorning people :) I have just started to learn this language and i have a logical problem. I need to write a program to parse various file of text. Here two sample: --------------- trial text bla bla bla bla error bla bla bla bla bla bla bla bla on more lines
4
2432
by: rn5a | last post by:
A MS-Access DB has 3 tables - Teacher, Class & TeacherClass. The Teacher table has 2 columns - TeacherID & TeacherName (TeacherID being the primary key). The Class table too has 2 columns - ClassID & ClassName (ClassID being the primary key) The TeacherClass table has 3 columns - TCID (AutoNumber), TeacherID & ClassID. One teacher can teach multiple classes & one class can be taught by multiple teachers. The TeacherClass table basically...
3
2878
by: WiseG1rly | last post by:
Hey everyone! I am completley new and I will start off by saying that I am not a programmer - figuring out this search took so long! I am debugging now and would appreciate any help :) Anyways, I am creating a website where I have a database of pet listings in california. Each record lists the Type of Listing (eg. dog grooming or vet) the the Area it is in (so state, county etc.), a Name, Description, and Address. I created a search...
8
15290
by: stekk | last post by:
Question: How do I display/echo the values in page the selected values from drop down lists in page 2? I think this is the line that I have to add some code to make the values SELECTED. Any help is appreciated. echo "<option value=\"$name\">$name</option> \n" ; page1.php <? echo "<form name=sel>\n"; echo "VENDOR : <font id=vendor><select>\n"; echo "<option value='0'>============</option> \n" ; echo...
1
1847
by: c0l0nelFlagg | last post by:
I need to display a main form with 48 identical subforms. 6 columns with 8 rows. I set up a separate query for each subform, identical in structure and underlying data except the criteria in two fields is different for each. (ie Row and Column id fields). I am able to select data in each subform from combo box lists, then on after update event I want to store data in a master underlying transaction table, both when each subform is...
0
8687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8617
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8914
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
7751
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3057
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
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.