Results 1 to 3 of 3

Thread: Horizontal menu, get rid of extra space and center menu

  1. #1
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Horizontal menu, get rid of extra space and center menu

    1) Script Title:

    jQuery Multi Level CSS Menu #2

    2) Script URL (on DD):

    http://www.dynamicdrive.com/style/cs...ss_menu_2/P20/

    3) Describe problem:

    Is there any way to get rid of the extra space on the right and to center it? Thank you for any help. I really appreciate it

  2. #2
    Join Date
    Aug 2004
    Posts
    9,889
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    There's no "quick" way to do this unfortunately, mainly due to the menu's use of CSS's float:left to achieve its look. It's what creates the two "issues" you mentioned above. You can try replacing float:left with substitute properties that still maintains the look you want, though there are quite a few CSS pitfalls you'll want to watch out for while doing this.

    Alternatively you can look at using a JavaScript based drop down menu that works on any horizontal menu, such as:

    http://www.dynamicdrive.com/dynamici...ddmegamenu.htm
    http://www.dynamicdrive.com/dynamici...menu/index.htm
    DD Admin

  3. #3
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is it possible to make a max width? So not directly remove all extra space, but force it by setting a maximum?

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
  •