I have the following markup:
The link doesn't work.
I suppose the problem in CSS that is the following:
Appreciate any help and advice how to have links work for this tree-structure.
Code:
<div id="treeMenu">
<ul>
<li class="main"><a href="#">Item1</a></li>
<li class="main"><a href="#">Item2</a></li>
<li class="contentContainer"><a href="#">Item3</a>
<ul style="display: none">
<li class="contentContainer"><a href="#">Item3.1</a>
<ul style="display: none" >
<li><a href="#">Item3.1.1</a></li> </ul>
</li>
</ul>
</li>
</ul>
</div>
The link doesn't work.
I suppose the problem in CSS that is the following:
Code:
#treeMenu ul li {
float: down;
position: relative;
}
#treeMenu ul li a {
margin:0px 0px 0px 140px;
padding:10px;
display:block;
text-decoration:none;
color:#B1ADBC;
}
#treeMenu ul li ul {
display: none
}
.contentContainer ul, .contentViewing ul {
padding-left: 15px;
padding-bottom: 5px;
color: #69F;
border-bottom: none;
border-right: none;
}
Comment