PDA

View Full Version : Simple Tree Menu Indentation Problem



mak2204
10-27-2006, 04:08 PM
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.

eth
10-28-2006, 07:44 PM
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;
}

Pat Vance
11-04-2006, 07:10 PM
Thank You!

mak2204
11-06-2006, 09:47 AM
Thanks so much.