I have a vertical menu that I create pro grammatically and I would like to style it using CSS but can't find much info on how to do that.
I would like the menu to be vertical and for sub menus to show within the same bar rather than a fly out, so when someone hovers over a parent item, the child items will show below it and preferably move the other parent item out of the way.
This is all I have so far for styling:
<asp:Menu ID="Menu1" runat="server" CssClass="mainmenu" >
<StaticMenuItemStyle CssClass="staticItem" />
</asp:Menu>
.staticItem:Hover
{
background-color:#FFFF66;
color:maroon;
width:105px;
width:100%;
padding-left:5px;
background-position:right;
background-repeat:no-repeat;
background-image:url('Images/Go_hover.png');
box-shadow:2px 3px 3px rgba(61,00,00,.5) inset;
border:1px #610000 solid;
padding-left:10px;
padding-right:19px;
}
.staticItem
{
background-color:maroon;
color:white;
font-size:18px;
font-family: "High Tower Text";
font-weight:bold;
padding-top:2px;
padding-bottom:2px;
padding-left:19px;
padding-right:10px;
width:100%;
background-position:left;
background-repeat:no-repeat;
background-image:url('Images/Go.png');
border:2px #610000 solid;
cursor:pointer;
border-radius:5px;
box-shadow:3px 3px 10px rgba(61,00,00,.8);
}