|
i need help combining menu's
i need a little help combining a horizontal and vertical menu its got me conufused
this is the css for the horizontal
-----------------------------------------------
ul#navlist
{
margin-left: 0;
padding-left: 0;
white-space: nowrap;
}
#navlist li
{
display: inline;
list-style-type: none;
}
#navlist a { padding: 3px 10px; }
#navlist a:link, #navlist a:visited
{
color: #fff;
background-color: #036;
text-decoration: none;
}
#navlist a:hover
{
color: #fff;
background-color: #369;
text-decoration: none;
}
---------------------------------------------------------
and this is css for vertical
-----------------------------------------------------------
#navcontainerv { width: 200px; }
#navcontainerv ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}
#navcontainerv a
{
display: block;
padding: 3px;
width: 160px;
background-color: #036;
border-bottom: 1px solid #eee;
}
#navcontainerv a:link, #navlist a:visited
{
color: #EEE;
text-decoration: none;
}
#navcontainerv a:hover
{
background-color: #369;
color: #fff;
}
-------------------------------------------------------------------
im sure their is a way to combind them to save space but with having
the
a
ul
and that has me crazy any help whold be aprishiated
|