PDA

View Full Version : adding third layer (or sub menu) to horizontal nav



trentonthegreat
Feb 27th, 2010, 04:21 PM
Iím using a ul horizontal nav that works great. Iím struggling adding a 3rd sub layer to the menu, though

my menu css:



.menu{
margin-left:555px;
margin-top:92px;
padding:0 0 30px;
font: 67.5% "arial", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
}
.menu ul{
background:#fffff;
height:35px;
list-style:none;
margin:0;
padding:0;
}
.menu li{
float:left;
padding:0px;
}
.menu li a{
color:#ffffff;
display:block;
font-weight:normal;
line-height:60px;
margin:0px;
padding:0px 23px;
text-align:center;
text-decoration:none;
}
.menu li a:hover, .menu ul li:hover a{
background-image: url(http://www.octopuscaps.com/seagull/menubg.png);
background-repeat: repeat-x
color:#FFFFFF;
text-decoration:none;
}
.menu li ul{
background:#111111;
display:none;
height:auto;
padding:0px;
margin:0px;
border:0px;
position:absolute;
width:225px;
z-index:200;
/*top:1em;
/*left:0;*/
}
.menu li:hover ul{
display:block;

}
.menu li li {
background:#111111;
display:block;
float:none;
margin:0px;
padding:0px;
width:225px;
}
.menu li:hover li a{
background:none;

}
.menu li ul a{
display:block;
height:55px;
font-size:12px;
font-style:normal;
margin:0px;
padding:0px 10px 0px 15px;
text-align:left;
}
.menu li ul a:hover, .menu li ul li:hover a{
background:#e70404;
border:0px;
color:#ffffff;
text-decoration:none;
}
.menu p{
clear:left;
}

can someone help me add a third layer of options in here. I would like the third layer to look just like the second. just something close so I can mess with it.

the site it is on (currently with two layer menu) http://www.octopuscaps.com/seagull

thanks for your time,

trenton