Click to See Complete Forum and Search --> : Layers and selectbox
Chiel
03-29-2001, 04:20 AM
hi there,
I'm trying to show a <div></div> over a form containing a selectbox, radiobutton
and a textbox. The layer 'falls over' all the elements, except the selectbox.
The select box is always shown on top with the layer behind it. I tried the
z-index, but that doesn't work.
Anyone have an idea ?
Thanx
Chiel
Mark Hoffmann
05-31-2001, 05:35 PM
The Select box is considered a windowed element whereas the rest of the elements
on the page are considered windowless elements. Unfortunately, the windowed
and windowless elements are each displayed on seperate planes. Within a
plane the Z-index works to provide the layering, but the Z-index does not
work across planes.
One possibility is to use the IFRAME tag, which will display on the windowed
element plane and then you can apply the Z-index so the IFRAME sits on top
of the Select element.
"Chiel" <cpauw@netcast.nl> wrote:
>
>hi there,
>
>I'm trying to show a <div></div> over a form containing a selectbox, radiobutton
>and a textbox. The layer 'falls over' all the elements, except the selectbox.
>The select box is always shown on top with the layer behind it. I tried
the
>z-index, but that doesn't work.
>Anyone have an idea ?
>Thanx
>
>Chiel
devx.com
Copyright Internet.com Inc. All Rights Reserved