Home » Programming / Coding

Asp Menu Hiding Behind Page Elements

21 January 2011 2,285 views No Comment

If your asp menu elements hide behind other elements on the page, this could be a potential solution for you.

Surround the asp menu in a div with a z-index style with it.

<div style=”z-index:200″>
<asp:Menu ID=”Menu1″ runat=”server” StaticDisplayLevels=”1″>
<Items>
<asp:MenuItem Text=”File” Value=”File”>
<asp:MenuItem Text=”New” Value=”New”></asp:MenuItem>
<asp:MenuItem Text=”Open” Value=”Open”></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
</div>

_____________
From Webcosmo Webmaster Forum http://www.webcosmoforums.com/asp/25740-asp-menu-hiding-behind-page-elements.html

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.