Universal CSS Navigation Menu Support Product Page

Answered

Menu buttons are all left aligned. How do I get them to center

11 years ago David Hampton posted:
Menu buttons are all left aligned. How do I get them to center within the background container? Note: I can center the button's background container...NOT the buttons within the container.

Replies

Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello,

Please provide a link to your page, as it is not very clear what exactly do you need to achieve.
Replied 11 years ago
11 years ago David Hampton replied:
Here is the link to the test page:
www.hamptonproductions.com/buttontest.htm
Here is a link to a screenshot of what I want:
www.hamptonproductions.com/assets/menu_screenshot.jpg
Thanks,
Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
It depends on the width of the UL element.
You can experiment adding a 10% margin-left to the ul element:


.dmxNavigationMenu.dark_black ul.menu { 

Replied 11 years ago
11 years ago David Hampton replied:
Hi Teodor,
Thanks for the reply, I wasn't sure which CSS element to alter. Works perfectly now.
David

Reply to this topic