Jump to content

Css Error On A Asp Menu Control


AndyMoireASP

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...