REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Navigation Bar Links Too High
#1
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;
}
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Nav bar help rocksolid22 0 512 Mar 25, 2013, 08:19 PM
Last Post: rocksolid22
  How to Change The Links Like this gamejump 1 725 May 23, 2012, 11:44 AM
Last Post: SatansFate
  Theme Navigation Bar ExaByte 1 720 May 12, 2012, 05:15 AM
Last Post: Oliver Evans
  Custom On/Off/Locked Icon for Forum Links Sawboo 1 596 Apr 09, 2012, 04:22 PM
Last Post: Sawboo
  Edit Navigation Bar ExaByte 0 676 Mar 24, 2012, 03:05 PM
Last Post: ExaByte

Forum Jump:


Users browsing this thread: 1 Guest(s)