I dont know why i am having a brain fart on this, but i cant seem to remember how to make a simple drop down. I have looked everywhere but vertical menus are hard to come by.
Here is my CSS
Code:
.urbangreymenu{
width: 190px; /*width of menu*/
}
.urbangreymenu .headerbar{
font: bold 13px Verdana;
color: white;
background: #606060 url(gfx/arrowstop.gif) no-repeat 8px 6px; /*last 2 values are the x and y coordinates of bullet image*/
margin-bottom: 0; /*bottom spacing between header and rest of content*/
text-transform: uppercase;
padding: 5px 0 5px 31px; /*31px is left indentation of header text*/
}
.urbangreymenu ul{
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 0; /*bottom spacing between each UL and rest of content*/
}
.urbangreymenu ul li{
padding-bottom: 2px; /*bottom spacing between menu items*/
}
.urbangreymenu ul li a{
font: normal 12px Arial;
color: black;
background: #E9E9E9;
display: block;
padding: 1px 0;
line-height: 14px;
padding-left: 8px; /*link text is indented 8px*/
text-decoration: none;
}
.urbangreymenu ul li a li{
display:none;
}
.urbangreymenu ul li a:hover li{
display:block;
}
.urbangreymenu ul li a:visited{
color: black;
}
.urbangreymenu ul li a:hover{ /*hover state CSS*/
color: white;
background: black;
}
HTML (for area in question)
Code:
<h3 class="headerbar">Marketing</h3>
<ul>
<li><a href="/index.shtml">My Ebby</a></li>
<li><a href="#">Send E-card</a>
<ul>
<li><a href="http://www.myebby.com/apps/ecards/ebby.php">Ebby</a></li>
<li><a href="http://www.myebby.com/apps/ecards/et.php">Ellen</a></li>
<li><a href="http://www.myebby.com/apps/ecards/dpm.php">DPM</a></li>
</ul>
</li> <li><a href="/packet/lpackets.html">Buyer/Seller Packet</a></li>
<li><a href="/packet/lpackets_esp.html">Buyer/Seller Packet Esp.</a></li>
<li><a href="/myebby-cgi/homeshow.cgi">Homeshow</a></li>
<li><a href="/vtours/index.html">Virtual Tours</a></li>
<li><a href="http://ebbyart.ebby.com/">Logos</a></li>
<li><a href="/mediakits.html">Media Kits</a></li>
<li><a href="/adv/index.html">Advertising Info</a></li>
<li><a href="/cgi-bin/donotcall.pl">Do Not Call Search</a></li>
<li><a href="/ebbystore/index.html">Ebby Store</a></li>
<li><a href="/agentpages/">Manage Ebby.com Page</a></li>
<li><a href="/flyers.html">Marketing Flyers</a></li>
</ul>
the red highlighted is what i am trying to hide, and once hovered, it lides down.
I hate to be vague and just give code, but its on an Intranet.
Thanks for any suggestions or tips.