Home › Forums › CSS › Sub menu nesting below 1st page tab, not parent tab › Reply To: Sub menu nesting below 1st page tab, not parent tab
I can’t see anything specifically wrong but it must be a positioning matter perhaps related to a css cascade override.
I dislike using those deep selectors like #header # mainmenu ul li ul li a.
Firstly, you don’t need two ID tags in there, just the second will do. I prefer to give each menu level it’s own class . It makes the CSS easier to write and understand.
Here’s a reference menu I keep around, perhaps you can use it to diagnose your menu.
BTW, I notice a property
float:center in your CSS…it doesn’t exist.