Hey there,
I’m needing a horizontal menu for my website which is nested twice by which I mean that you can select a subitem and go down another level into a further sub menu. I know that there is a whole wealth of code snippets to steal to do this but to reuse other peoples code is not my aim. I really wish to understand the CSS which makes this work, I already have the javascript and CSS for a one submenu setup. Here is my CSS code below:
/* The whole menu /
#menu {
position: absolute;
}
/ Each menu name /
#menu li {
float: left;
list-style-type: none;
padding-right: 20px;
width: 100px;
background-color: silver;
}
/ The entire submenu /
#menu li ul {
background-color: silver;
margin: 0px;
padding: 0px;
}
/ Each submenu item */
#menu li ul li {
padding: 0px;
margin: 0px;
float: none;
list-style-type: none;
width: 80px;
}
What i want to know is what to add to it to nest a further <ul> <li> menu
thanks
Will