Jump to content
Sign in to follow this  
hibbsy78

EcoPro Nav bar

Recommended Posts

hibbsy78

Hi guys, I'm working on a charity site using the Eco Pro theme. Using FireBug and many searches in here I've made a few little tweaks, one thing I'm struggling on is getting the Nav bar centred. I have the following css:

#nav {width:1240px;float:center;text-align:center;font-size:96%;top:109px;}

but it still doesn't look quite right! http://www.westmidlandslupus.com/ Hope you can point me in the right direction! Thanks!

Share this post


Link to post
Share on other sites
cmunns

It looks pretty close to me. Generally you can center things using margin:0 auto but the container has to have an assigned width. Also you could lose the top:109px if you switched to relative instead of absolute positioning

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  

×