Weird z-index problem (images overlay dynamic menus)

Weird z-index problem (images overlay dynamic menus)

am 05.10.2007 07:08:43 von EnigmaticSource

Currently, I am designing a site using CSS driven vertical menus, it
works well in everything but MSIE. The menus seem to work well
enough, except that they float behind the images, but above the text.
The problem does not occur in Firefox, Konqueror, or Opera. I'm a bit
lost for what the cause could be.

Demonstration URL: http://delta.teamcenturion.com

Thanks in advance for the help.

-- Mark C. Roduner, Jr.

Re: Weird z-index problem (images overlay dynamic menus)

am 05.10.2007 08:19:56 von rf

"EnigmaticSource" wrote in message
news:1191560923.145367.233880@k79g2000hse.googlegroups.com.. .
> Currently, I am designing a site using CSS driven vertical menus, it
> works well in everything but MSIE.

You can't really call it a CSS menu in IE as you are using javascript (in a
htc) to "drive" it. Without javascript the menu is invisible.

> The menus seem to work well
> enough, except that they float behind the images, but above the text.
> The problem does not occur in Firefox, Konqueror, or Opera. I'm a bit
> lost for what the cause could be.

Try z-index: 99 on both the ul containing the menu *and* the li that
contains that ul.

--
Richard.

Re: Weird z-index problem (images overlay dynamic menus)

am 05.10.2007 08:29:38 von EnigmaticSource

Thanks, it worked nicely. Oh and good call for spotting me cheating
with the .htc It's the only way I could get my code to look halfway
pretty and make it load in IE6 at all.


On Oct 5, 6:19 am, "rf" wrote:
> "EnigmaticSource" wrote in message
>
> news:1191560923.145367.233880@k79g2000hse.googlegroups.com.. .
>
> > Currently, I am designing a site using CSS driven vertical menus, it
> > works well in everything but MSIE.
>
> You can't really call it a CSS menu in IE as you are using javascript (in a
> htc) to "drive" it. Without javascript the menu is invisible.
>
> > The menus seem to work well
> > enough, except that they float behind the images, but above the text.
> > The problem does not occur in Firefox, Konqueror, or Opera. I'm a bit
> > lost for what the cause could be.
>
> Try z-index: 99 on both the ul containing the menu *and* the li that
> contains that ul.
>
> --
> Richard.

Re: Weird z-index problem (images overlay dynamic menus)

am 05.10.2007 09:04:25 von rf

"EnigmaticSource" wrote in message
news:1191565778.952001.248520@n39g2000hsh.googlegroups.com.. .
> Thanks, it worked nicely. Oh and good call for spotting me cheating
> with the .htc It's the only way I could get my code to look halfway
> pretty and make it load in IE6 at all.

There *is* another way.

It involves using some conditional comments to enclose the dropdown

Re: Weird z-index problem (images overlay dynamic menus)

am 05.10.2007 09:33:21 von EnigmaticSource

Sounds like a pain to generate programmatically, but I'm always
interested in new techniques. I just _hate_ having to write hacks
into my codebase because someone at Microsoft decided that standards
don't matter. I just wish for the day when there is a _clean_ way to
do anything the standards allow.

On Oct 5, 7:04 am, "rf" wrote:
> "EnigmaticSource" wrote in message
>
> news:1191565778.952001.248520@n39g2000hsh.googlegroups.com.. .
>
> > Thanks, it worked nicely. Oh and good call for spotting me cheating
> > with the .htc It's the only way I could get my code to look halfway
> > pretty and make it load in IE6 at all.
>
> There *is* another way.
>
> It involves using some conditional comments to enclose the dropdown