PDA

View Full Version : AnyLink Drop Down Links



micke808
03-06-2006, 05:40 PM
I'm trying to change the color of the drop down text link, is it possible? I've tried "font-color:" and also just tried adding the color code in the "font" but nothing seems to work...please help.

Here's the style:
<style type="text/css">

#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: yellow;
}

</style>

mwinter
03-06-2006, 06:48 PM
I'm trying to change the color of the drop down text link, is it possible?Yes. The color property controls foreground colours.


font:normal 12px Verdana;
line-height:18px;Don't use Verdana, and don't use pixels to specify font size or line height. See a post in the Fonts (PC vs MAC) - what's your advice? (http://www.dynamicdrive.com/forums/showthread.php?p=28439#post28439) thread, as well as my follow-up to it, for reasons why.

Mike