how to center main navigation text
-
How can I center the main navigation page titles? I’ve tried css but obviously not the right choice.
I’ve tried
#top div.main-nav {text-align: center;}
but it doesn’t work.
I’ve also tried
#top div.main-nav ul {padding-left 60px;}
This sort of works, but if I want to add another page to the navigation, I will have to change the padding-left again.I look forward to your reply.
- The topic ‘how to center main navigation text’ is closed to new replies.