MyBB Central

Full Version: Navigation Bar Links Too High
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I have another small problem with my new forum.

The links on the navbar are about 10px too high for some reason, and I have no clue how to fix this. Does anyone know the solution?

[Image: misalign.PNG]

Current code:

Code:
#nav {
    background: url(images/DDF/navbar.png);
    text-align: center;
    width: 100%; /*1000px*/
    height: 32px;
    margin: auto;
}

ul#list-nav {
    list-style: none;
    padding: 0;
    width: 100%; /*1000px*/
}

ul#list-nav li {
    display: inline;
}

ul#list-nav li a {
    text-decoration: none;
    padding: 5px 15px;
    width: auto;
    height: 22px;
    line-height: 20px;
    float: center;
    text-align: center;
    border-right: 1px solid #5a0303;
}

ul#list-nav li a:link {
    color: #FFFFFF;
}

ul#list-nav li a:visited {
    color: #FFFFFF;
}

ul#list-nav li a:hover {
    background: #7e0707;
    color: #FFFFFF;
}