Basically the menu section labelled âVenue examplesâ is the problem area, i just cant get the sub nav elements Pavilion & Leeds registry to sit directly underneath.
You have #menu li{} which affects every LI in that menu. That includes ddropdowns. That means they are getting 20% width and floats. You need to undo that for the child menu.
#menu li li
{
float:none;width:auto;
}
Now itâs just next to the right of the top level LI, because of this rule
li.sub:hover > ul {
display:inline-block;
}
That should be display:block;.
Actually, the entire menu should probably be scrapped. I tried to redo a bit of it for you. Still sort of awkwardly coded.
Take that as a starting point. I re-did the dropdown to use position:absolute; and changed the menu to a table-cell approach instead of the floated approach you were trying to do.
Thank you so much Ryan & Paul My menu works how i want know. So long since i did a bit of CSS forgot about the whole cascading rules. Thank you for working this out for me