Wednesday, 21 August 2013

How to center drop down menu?

How to center drop down menu?

thank you for your time today to help me solve this CSS issue.
Test Page here
I'm got the navigation menu set up (top nav = main-nav) as I'd like it but
I can't for the life of me figure out a way to center align the drop down
(second level of navigation) to its parent navigation item, without
effecting the current layout or functionality.
The navigation list was tricky to set up with the menu in the middle and
to still be dynamic via Wordpress. I used a combination of display:table
and display:table-cell to do this. The top level of the navigation looks
great but the drop down secondary levels are off aligned.
Any advice would be greatly appreciated. Thanks in advance! Cheers,

No comments:

Post a Comment