How would I center my navigation bar?
My theme is BlueFox.
It helps if you post a link to your site so people can see the theme.
pkxile.comoj.com
Menu's like that aren't written so they can be centered without significantly changing the code. It might be easiest if you just add some padding to the containing div that it is in to push the menu as close to center as you like.
#toolbar {
background: url("../images/custom/nav_bg_small.gif") repeat-x scroll 0 0 transparent;
height: 34px;
position: relative;
}
Add your left/right padding to the code above in the index.css file to get it where you want.
Lainaus käyttäjältä: IchBin™ - joulukuu 20, 2011, 04:09:07 IP
Menu's like that aren't written so they can be centered without significantly changing the code. It might be easiest if you just add some padding to the containing div that it is in to push the menu as close to center as you like.
#toolbar {
background: url("../images/custom/nav_bg_small.gif") repeat-x scroll 0 0 transparent;
height: 34px;
position: relative;
}
Add your left/right padding to the code above in the index.css file to get it where you want.
Thanks!