Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Centering Menu

  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Posts
    663
    Thanks
    5
    Thanked 14 Times in 14 Posts

    Centering Menu

    I working to build a new menu for my fantasy football site, and can not seem to get the menu to center using a 100% width for the menu. I can get it to center with a fixed width, but then I need to adjust the px size to make it look correct.

    I believe I need to add margin-left: auto and margin-right:auto, but that seems to only work with a fixed width.

    So how can I center the menu?

    EDIT...... Nevermind...... I placed the menu in a table, and centered the table. May not be the best way, but it works!
    Last edited by ptmuldoon; 08-16-2012 at 09:31 PM.

  • #2
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    Please change the thread title to "Solved".

    Thank you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •