Need CSS help with wordpress navigation bar!

Discussion in 'Black Hat SEO' started by wooSj, Feb 20, 2012.

  1. wooSj

    wooSj Junior Member

    Joined:
    Oct 6, 2010
    Messages:
    142
    Likes Received:
    60
    Location:
    Far away in space
    I'm trying to make a custom horizontal navigation bar. Now the biggest part is working with a code I found on the internet. Tho, the navigation bar is aligned left. Whatever i'm trying the bar is standing left, I can't center it.

    Code:
    div#navmenu {
    margin: 0px;
    text-align: center;
    height: 35px;
    width: 86%;
    background-color: #C0D5F4;
    }
    div#navmenu ul {
    margin: 0px;
    padding: 10px;
    width: 62em;
    text-align: center;
    font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-size: 14pt;
    font-weight: bold;
    color: #336699;
    line-height: 20px;
    white-space: nowrap;
    }
    div#navmenu li {
    list-style-type: none;
    display: inline;
    }
    div#navmenu li a {
    text-decoration: none;
    padding: 5px 5px;
    color: #336699;
    }div#navmenu li a:link {
    color: #336699:
    }div#navmenu li a:hover {
    font-weight: bold;
    color: #114477;
    }
    This is the CSS code I have at the moment. I've been trying this for a whole day but can't get it right. If someone can help and know how to center it for me above my site will get my rep and thanks x10 :D.