View Full Version : Smooth Navigation Menu Problem

05-27-2010, 06:46 PM
1) Script Title:
Smooth Navigation Menu
2) Script URL (on DD):
3) Describe problem:

I encoded the Smooth Navigation Menus into my website and was able to modify them to meet most of my needs. However, the horizontal navigation menu does not seem to want to center the items. I found the code to make it left aligned. I was able to change that to make it right aligned. However, when I put center next to the float it makes the different menu items stack on top of each other. Is there a way to center the menu items on the horizontal menu bar?

05-27-2010, 08:11 PM
Give it a width in pixels that suits your needs. Suppose you have: width:400px. Then style it as follows:
position: absolute; left: 50%; margin-left: -200px; width: 400px
(margin-left is the negative counterpart of the width divided by 2).
Arie Molendijk.