I am messing around with the files that Chris supplied for the Content before Nav tutorial and having a difficult time centering the menu items in the space.
The tuturial is here: http://css-tricks.com/navigation-markup-after-content/
and the example page is here : http://css-tricks.com/examples/NavCodeAfterContent/
I would like to have the nav menu items stay centered in a 100% width container. I have acheived this using positioning on the ul but when the font size changes it moves off center.
Hopefully this is enough information to get started and the solution is easy ;)
Please put the nav inside the
<center></center> tag and check it.
Thanks & Regards
Thats not exactly css though…
Have another div inside the body that wraps around everything you want centered. Then give that wrapper
You must be logged in to reply to this topic.