Hello
I have a menu bar along the top which looks like this:
I am trying to narrow slightly the gaps between each menu item while keeping it centered as in the screenshot.
The CSS looks like this:
If I change that margin-right from 60px to 30px the spaces between each item does reduce but the menu as a whole moves to the right. I don't seem to be able to reduce the distance between each menu item without moving them all to the right. I understand why the menu moves to the right (on account of the margin).
Thanks for any suggestions.
I have a menu bar along the top which looks like this:
I am trying to narrow slightly the gaps between each menu item while keeping it centered as in the screenshot.
The CSS looks like this:
Code:
ul#nav li a {
padding: 9px 0 15px 0;
/*padding: 15px 17px 6px 17px;*/
font: 90% 'Droid Sans', arial, sans-serif;
text-decoration: none;
color: #000000;
margin-right:60px;
}
If I change that margin-right from 60px to 30px the spaces between each item does reduce but the menu as a whole moves to the right. I don't seem to be able to reduce the distance between each menu item without moving them all to the right. I understand why the menu moves to the right (on account of the margin).
Thanks for any suggestions.