Jump to content

Css Error On A Asp Menu Control


Recommended Posts

Hi I have a menu control on my form, and I have problem with the rollover. When my mouse runs over the control and menu items appear from the side, the little black arrows do not all line up underneath one another. Is this an error with the ASP.Menu control, and is there away to get them to all line up? All I have in my menu control is as follows:<asp:menu id="MenuList" runat="server" CssClass="MenuStyle" StaticMenuItemStyle-CssClass="MenuStatic"> <DynamicHoverStyle CssClass="DHoverStyle"/> <DynamicSelectedStyle CssClass="DSStyle"/> <DynamicMenuItemStyle CssClass="DMenuStyle"/> <StaticHoverStyle CssClass="MenuHoverStyle"/></asp:menu>#menu /*this applies to the div tag for where the menu control sits*/{ width:100%; height:100%; float:left; position:relative; display:inline;}.MenuStyle{ width:100%; top:1%; left:0; min-width:9em;}.MenuStatic{ padding:5%; color:white;}.DHoverStyle{ color:white; width:100%; }.DSStyle{ background-color:silver; color:white; padding:0.1em; padding-top:0.1em;}.DMenuStyle{ width:100%; color:white;}.MenuHoverStyle{ background-color:silver; color:white;}Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...