The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Navigation Spacing Problem Re: Navigation Spacing Problem


Hey Lyle,

There are two things causing your nav to behave this way:

1) #nav li has a fixed width of 125px – remove this

2) #nav li a has a fixed/fluid width of 10em – remove this

Now that the fixed widths have been removed, you should have more control over the spacing of the items. Adding a margin-right of about 20px seemed to look pretty good. Although there are some padding issues with your subnav.