Hi,
"Cheryl" <cj*****@hotmail.com> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamici...men3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and input
boxes , as you would expect and desire, *but* behind dropdown boxes on the
page.
Surely there is a simple fix for this?
There is no fix for this. Reason: the select html element (the output from
the asp.net DropDownList server control) is a windowed control and does not
support the z-index attribute or zIndex property. See the remarks:
http://msdn.microsoft.com/workshop/a...cts/select.asp
There is a workaround, sort of. Move the select html elements (the asp.net
DropDownList server controls) away from the area in which the menu expands.
There are also other ways (see the end of the following article
http://support.microsoft.com/?kbid=177378), but this is the one that
requires least effort.
Hope this helps
Martin Dechev
ASP.NET MVP