Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with CSS: How to align lower header to center Re: Help with CSS: How to align lower header to center

#130117
Paulie_D
Member

Do I understand that you want the menus to be centered on the page?

At the moment, you would have to either give them a set width and then set `margin: xx auto` or do some juggling with padding on either side.

That probably isn’t going to help with your top-line menu as those two lines are actually one BIG list.

If you have the ability to change the template, I would look into converting the menu to inline-block as it’s much easier to center the list items.

joshnh.com/2012/02/07/why-you-should-use-inline-block-when-positioning-elements/