Click to See Complete Forum and Search --> : Select boxes and z-index


mercury7
11-15-2004, 06:33 PM
I have a layer contaiining some html select boxes which has a z-index of 3. I also have a absolutely positioned layer which has a z-index of 30 (as in thirty).

The problem is that the layer withan index of 30 displays on top of the layer with a z-index of three, except for the select boxes.

It doesn't matter what i set the z-index of that second layer to, the select boxes in IE always display on top.

Does anyone know why?

Jona
11-15-2004, 07:16 PM
Form elements, as window objects, appear to be exempt from any z-indicies. Perhaps an article written by our very own Khalid Ali (http://www.webreference.com/programming/javascript/form/index.html) will be helpful to you.

mercury7
11-16-2004, 03:25 AM
Thanks Jona, I found the answer in that article.

Jona
11-16-2004, 11:21 AM
Happy to help.