Discussion Locked

z-index

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have created an 'SELECT' element and place it one of the other element ('DIV') where other element can be viewed OR Hided. When the other element as selected by 'visible', the all other element underneth should be hidden. But the 'SELECT' elementdid not hide.
I set up the z-index on other element as 65535

Please advise me.

Thanks,
Giri

5 replies

by twistypigeon

windows controls have a tendency to do this!
Z-Index for some reason makes no difference I don't think to a windows control such as a SELECT element or BUTTON etc...
Can't you put a bit of code in that makes the control itself (SELECT) not visiblewhen the DIV above it becomes visible?
Or possibly encapsulate the control in a div that you can set the z-index of... e.g.

Have fun!

by blessed one

Select elements show strange behaviour in diff. situations. Set the display property to 'none'. This will definitely solve your problem.

This discussion is closed to new replies.