Jump to content
Sign in to follow this  
pmullady

Center the navigation

Recommended Posts

James B
add Li, ect .main_nav ul li {margin-right:250px;}

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
James B
i don't know that for sure, just guessing....

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
pmullady
actually i want to keep the nav in one row like this [img]http://i.imgur.com/psXff.png[/img] I need the nav to stay centered like the logo

Share this post


Link to post
Share on other sites
kastelic
This will work, however, you have to adjust the pixel width to match the width of your nav items, so if you add/remove or change navigation items you will need to update the 450 number. [code]#nav_row { margin: 0 auto; width: 450px; }[/code]

Share this post


Link to post
Share on other sites
pmullady
YES! That works perfectly. Thanks so much for the tip!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×