Results 1 to 4 of 4

Thread: All Levels Nav Menu Sizing question

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

    Default All Levels Nav Menu Sizing question

    1) Script Title: All Levels Navigational Menu

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

    3) Describe problem:

    For the life of me I can't seem to re-size the sub-menus. I just want to make the sub-menu smaller. (i.e.not as wide as shown in example)

    Changing the CSS file where it says width: 160px; /*width of menu (not including side paddings)*/ doesn't seem to do it correctly. It leaves borders hanging in mid-air.
    Last edited by TreeTopsRanch; 01-21-2009 at 05:57 PM. Reason: Removed personal menu link

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Change the highlighted line:
    Code:
    .ddsubmenustyle li a{
    display: block;
    width: 160px; /*width of menu (not including side paddings)*/
    color: black;
    background-color: lightyellow;
    text-decoration: none;
    padding: 4px 5px;
    border-bottom: 1px solid black;
    }
    Jeremy | jfein.net

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

    Default

    Thank You. For some reason it didn't display correctly in FrontPage but when published to the server it worked correctly. and I had to change the IE6 width property to match.
    Last edited by TreeTopsRanch; 01-21-2009 at 05:56 PM. Reason: Added ie6 width fix

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I'm glad to help you TreeTopsRanch.
    Jeremy | jfein.net

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
  •