I ham trying to set up a Vertical Divider menu with 3 menu items in the centre across the page. The three menu items are no problem but how do I get the menu in the centre of the page?
I ham trying to set up a Vertical Divider menu with 3 menu items in the centre across the page. The three menu items are no problem but how do I get the menu in the centre of the page?
Give the container a width and an auto left-right margin, example:
Good luck!Code:div#nav { width: 40em; margin: 0 auto; }
Thanks Snookerman but all this did was to leave the 3 item menu at the left but filled the rest of the width with an ampty box with a blue border and white backgroiund.
Farmerbill42
Last edited by farmerbill42; 03-01-2010 at 04:28 PM.
My code didn't do that, your code did. If you don't post it or provide a link to your page there is no way I can help you.
Bookmarks