Results 1 to 2 of 2

Thread: Smooth Navigational Menu - Any Way to Center The Buttons?

  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Smooth Navigational Menu - Any Way to Center The Buttons?

    1) Script Title: Smooth Navigational Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.htm
    3) Describe problem: I was wanting to know if there was a way to center the buttons on the menu. Right now its always aligned to the left so that there's always a gap on the right side of the navigation bar.
    An even better solution would be is there a way to make all of the elements in the nav menu fill in the extra space on the end. Ive tried making the width of the buttons equal to the total width divided by the number of buttons but no luck.

    Any help is appreciated. Thanks.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    This basically comes down to styling the menu so the top menu items do not use CSS's float:left to create its current look. I haven't had a chance to really play with this to come up with different usable styles not based on float:left unfortunately, but it's certainly doable. Another script that supports numerous styles to begin with is All Levels Menu, by way of the menu Generator.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •