Results 1 to 4 of 4

Thread: Simple Tree Menu Indentation Problem

  1. #1
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple Tree Menu Indentation Problem

    1) Script Title: Simple Tree Menu

    2) Script URL ():http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

    3) Describe problem: I have created a dynamically driven Tree Menu using the Simple Tree Menu script. The menu sits on the left panel of my website but it has a lot of space infront of the top level. How do i remove the indentation on the first level of the tree but also retain css style. If i remove the highest <ul> i have to remove class="treeview id="treemenu1" aswell which ruins the menu. I hope that makes sense, hope some 1 can help. If any 1 wants me to upload a picture of the problem please let me know.

  2. #2
    Join Date
    Oct 2006
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    add the below styles it will indent
    .treeview {
    margin: 10px 0;
    padding: 0;
    left:5px;
    float:left;
    }

    .treeview ul{ /*CSS for Simple Tree Menu*/
    margin: 0;
    padding: 0;
    left:5px;
    }

  3. #3
    Join Date
    Nov 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank You!

  4. #4
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much.

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
  •