Click here to get back home

IE and z-index trouble

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
IE and z-index trouble darius 02-27-2008
Posted by darius on February 27, 2008, 5:54 pm
Please log in for more thread options
Hello

I'm trying to adapt menu code found here

http://qrayg.com/learn/code/cssmenus/

I'm trying to do is have a combination of horizontal and tab menu, so
given a menu like this.

<ul id="nav">
<li>Fruits
<ul>
<li>Apples</li>
<li>Oranges</li>
</ul>
</li>
<li>Veggies
<ul>
<li>Carrots</li>
<li>Lettuce</li>
</ul>
</li>
</ul>

On start, this is just the usual horizontal drop down menu. However,
once he user in in the "Fruits" or "Oranges" section, I want the "Fruits"
menu to expand out below the main menu and stays there

[*Fruits* Veggies]
[Apples *Oranges*]

This is like your typical categories/subcategories tabs/subtabs
naviagtion. I still want the veggies menu to drop down as I hover over
it.

I have this somewhat working. My problem is when I hover over veggies,
the drop down mmenu is displayed behind [Apples Oranges]. I added

z-index: 6000;

to the drop down <ul> (no other z-index specified) and this works for
Opera and Firefox but not IE7 (haven't tested IE6). What is the quirk
here and what is the workaround? Thanks.

Similar ThreadsPosted
zindex only work when I move the activex object one pixel. April 23, 2006, 1:21 pm
still m ore trouble with frames July 15, 2005, 2:13 pm
Trouble with Actions May 18, 2006, 10:43 am
favicon trouble January 30, 2007, 1:05 pm
beginner having trouble with forms August 30, 2004, 4:56 pm
CSS trouble - div.class div.class2 September 30, 2004, 1:03 pm
Trouble validating my site December 11, 2004, 2:30 pm
Table printing trouble April 23, 2005, 7:08 pm
Trouble with CSS in tables with Mozilla July 1, 2005, 1:50 pm
Having trouble linking to stylesheet May 21, 2006, 8:54 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap