Thread: Centering Menu

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    15
    Rep Power
    0

    Centering Menu


    Good morning,

    I am having a hard time centering menu items, please could some take a quick look and tell me where I am going wrong. Thank you so much

    Test Page is here
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Sorry, but my mind reading skills are very poor. I fear you have to actually tell us what should be centered where and why you think it's currently wrong.
    The 6 worst sins of security ē How to (properly) access a MySQL database with PHP

    Why canít I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    15
    Rep Power
    0
    You don't have to have mind reading skills. I said above I would like to center my menu items and I have provided a link...

    I simply need the menu items be center of the page.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2014
    Posts
    29
    Rep Power
    0
    Originally Posted by charlyanderson
    I simply need the menu items be center of the page.
    So you want the top-level menu items to be centered on the page, then?
    Ok, does this work:

    Code:
    .top-menu {
       margin-left: auto;
       margin-right: auto;
    }

IMN logo majestic logo threadwatch logo seochat tools logo