I have implemented FlexNav for my website navigation. The demo I used sets the width of top-level menu items to 20%, which works well with five menu items.
.flexnav li {
.
.
.
width: 20%;
}
However, in my menu, the text lengths of the top-level menu items vary and the child elements (level 2) are wider than their parents. I am attempting to make the menu more flexible so that defining the width of the top-level menu items is not necessary. Unfortunately, without a fixed width, the menu does not function correctly. Any suggestions?