-
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.
-
-
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;
}
-
-
-
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks