Results 1 to 3 of 3

Thread: Drop Down Nav

  1. #1
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Drop Down Nav

    I have copied and installed the "jQuery Multi Level CSS Menu #1.' However I can't get the menu bar to center. Doe anybody have clue on how to center the menue bar. I have tried text-align: center

    Code:
    /*Top level menu link items style*/
    .jquerycssmenu ul li a{
    display: block;
    background: maroon url(tintblue.gif) top center repeat-x;; /*background of tabs (default state)*/
    padding: 5px 7px 4px 7px;
    margin-right: 3px; /*spacing between tabs*/
    border: 1px solid #778;
    border-bottom-width: 0;
    color: yellow;
    text-decoration: none;
    text-align: center;
    }
    This does not work.

    I have also tried to insert in other localtion of the code as well.
    Last edited by ddadmin; 01-18-2013 at 08:05 AM.

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

    Default

    This script is basically a stripped down version of some of the more robust ones found on DD. It uses CSS floats to create the UI, and hence doesn't easily facilitate centering.

    I suggest trying a few of the other more "robust" scripts on DD, such as:

    http://www.dynamicdrive.com/dynamici.../generator.htm (see the "Shade Tabs" example for a tab menu that can be centered easily)
    http://www.dynamicdrive.com/dynamici...exdropdown.htm (a flexible multi level drop down that can be attached to any menu you like. Just create the tab menu interface yourself, and associate drop down menus to each menu item yourself).
    DD Admin

  3. #3
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you I will try that tonight and over the weekend. I had a feeling it might be th js. But my js knowledge is not what is should be.

Similar Threads

  1. Replies: 3
    Last Post: 10-22-2010, 05:04 PM
  2. Anylink drop down menu - Demo #3 (sub menus drop to the right of anchor):
    By pjdcreative in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-17-2010, 02:54 AM
  3. AnyLink JS Drop Down Menu-drop down positioning problem g
    By BobMinkin in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-27-2009, 02:47 PM
  4. Chrome Drop Down Menu Script - 2nd level drop downs?
    By mdbiker in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-27-2006, 02:44 PM
  5. 'Chrome Drop Down Menu' and 'Drop Down Input (Select tag)'
    By yourmna in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 10-16-2006, 09:30 AM

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
  •