Page 1 of 1
Centering horizontal menu?
Posted: 2012-10-10 11:47
by Nixtev
Hi, anyone know how to do this please?
Thanks
Re: Centering horizontal menu?
Posted: 2012-10-10 14:44
by Fred
Never had the need to do that yet.
Isn't it as simple as render the menu in a <div> that is centred?
Code: Select all
#menu_div {
width: 700px;
margine-left: auto;
margine-right: auto;
}
Code: Select all
<div id=menu_div">
<?php render menu here;?>
</div>
Re: Centering horizontal menu?
Posted: 2012-10-10 18:05
by Nixtev
Sadly I've not managed to get a simple solution or a complicated solution to work and had already tried centering the container div with no luck.
Looks like I'll have to try stripping it all down step by step and see what that does.
Re: Centering horizontal menu?
Posted: 2012-10-11 08:38
by Fred
Try using "Firebug" to find the class name of the <ul>