Results 1 to 3 of 3

Thread: all levels menu - hide last divider

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

    Default all levels menu - hide last divider

    1) Script Title: all levels

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/

    3) Describe problem: Is there some way to hide the last dividing line on the horizontal menu? i don't need another line, as the last menu item is the last item...i just want the last menu item space to go to the end of the menu, not insert a dividing line there. ideas?

    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

    Just apply this inline style to the item, ex:

    Code:
    <div id="ddtopmenubar" class="mattblackmenu">
    <ul>
    <li><a href="http://www.dynamicdrive.com">Home</a></li>
    <li><a href="http://www.dynamicdrive.com/new.htm" rel="ddsubmenu1">DHTML</a></li>
    <li><a href="http://www.dynamicdrive.com/style/" rel="ddsubmenu2">CSS</a></li>
    <li><a href="http://www.dynamicdrive.com/forums/">Forums</a></li>
    <li><a style="border-right-width:0;" href="http://tools.dynamicdrive.com/" rel="ddsubmenu3">Web Tools</a></li>
    </ul>
    </div>
    - John
    ________________________

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

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

    Default

    Perfect, like a charm...much thanks, John!

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
  •