Results 1 to 3 of 3

Thread: Can't change width of Menu

  1. #1
    Join Date
    Apr 2005
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can't change width of Menu

    1) Script Title: AnyLink Drop Down Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem: Cannot change the width of the outer part of the menu.
    I changed the "#dropmenudiv a{width: 100%;" part and that got the inside part the way I want it
    but no matter what I do to the "var menuwidth='165px' //default menu width" it doesn't do anything. Right now it looks like this:

    I want to get that outside part the same width as the rest.

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Leave the "#dropmenudiv a{width: 100%;" part alone. Adjusting the default width will only have an effect if you do not specify an individual width here (red):

    Code:
    <a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()">News Sites</a>
    If you are using the above parameter with your trigger link, it will control the width.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2005
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That worked.

    Thanks!

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
  •