Okay, per Tantek’s suggestion I’ve made the menu entirely a nested list, and adjusted the CSS accordingly. I had to work out a few kinks with the specificity of the contextual selectors, but after that it was a breeze. However this has brought to my attention how terribly ugly the CSS ridge effect is in Mozilla—really unattractive. It’s a shame because a lot of people seem to like it, but I’m exploring other options. Structure is groovy. Hell is a world without the style attribute.