problem with a form-select shown in a layer with low z-index

M

Martin Nadoll

Hello,

i have a <div id="withform" style="position:absolute; z-index:17;...">
in that layer is text and a form with a <select>-Dropdown.

and i have a <div id="hideform" style="position:absolute; z-index:100;
visibility: hidden;...">

with a JavaScript-mouseOver the second <div id="hideform"> becomes visible.
It has the same size and position as my first <div id="withform">

my problem:
i can see the dropdown, and only the dropdown, not the text of <div
id="withform">.
why doesnt <div id="hideform"> hide everything from <div id="withform"> with
although its higher z-index?

thanks for any help on this,
Martin Nadoll
 
T

Toby Inkster

Martin said:
i can see the dropdown, and only the dropdown, not the text of <div
id="withform">.
why doesnt <div id="hideform"> hide everything from <div id="withform"> with
although its higher z-index?

In Internet Explorer, form controls ignore z-order. In other browsers,
results will vary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,156
Latest member
KetoBurnSupplement
Top