z-index not working

P

Paul

Hi I have a menu contol on a master page and some dropdown boxes and text
boxes on another page that gets loaded into the place holder of the master
page.
The dropdown menu on the master page covers the dropdown list boxes on the
page that gets loaded in but does not cover the textboxes like it should. I
tried setting the zindex but it seemed to have no effect.

on the master page
<td class="MainMenu" style="z-index :100; width: 871px; position :relative;
" >
<asp:Menu ID="mnuMain" runat="server"
CssClass="QuickViewMenu"

for the textbox on the page that gets loaded in.

<asp:TextBox ID="txbx_username" style="z-index :0; position :relative "
runat="server" Width="369px">


any ideas?
thanks.
 
M

Manish

Hi Paul,

Z-index only works on elements that have been positioned (eg
position:absolute;).

Regards,
Manish
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top