I have been working on the CSS for a menu using some HTML code, but I am stuck and uncertain about my next steps.
Here is the CSS I have added so far:
#menu-my-integra, ul.sub-menu {
list-style: none;
padding: 0;
margin: 0;
}
#menu-my-integra li {
display: inline;
margin-right:10px;
}
ul.sub-menu {
display:none;
}
#menu-my-integra li:hover ul.sub-menu {
display: block;
max-height: 200px;
}
Currently, the menu appears horizontally, but I would like to change it so that the sub menus are displayed in a vertical list below the parent item.
I have also created a fiddle here: