adwooley2
asked on
ASP.NET 2.0 Menu control - dropdown items hidden under other page controls
Surely I can't be the only one to experience this... I have a menu control on the top of my page, which has submenu items dropping down off the main items. The problem is, when I try to select one of the submenu items, it becomes hidden underneath another control on the page. Any way that I can make the menu stay on the top of everything else?
As an extra, some of my menus, when rendered, show up in red letters when I specified them to be blue.
Any ideas?
As an extra, some of my menus, when rendered, show up in red letters when I specified them to be blue.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ohh I think I made it in not enough infor way: it should be z-index, instead of z-order.
<div style="z-index:10; position:relative">
<asp:Menu ... your menu>
</div>
The z-index only worNote: Z-index only works on elements that have been positioned (eg position:absolute;)... it's nice to know when you wanna do something concerning about stack order.
Anyway, gj you got it yourself ^^.
Thanks for the credit ^^
<div style="z-index:10; position:relative">
<asp:Menu ... your menu>
</div>
The z-index only worNote: Z-index only works on elements that have been positioned (eg position:absolute;)... it's nice to know when you wanna do something concerning about stack order.
Anyway, gj you got it yourself ^^.
Thanks for the credit ^^
ASKER