Results 1 to 2 of 2

Thread: AnyLink Drop Down Links

  1. #1
    Join Date
    Mar 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Links

    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>

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by micke808
    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? thread, as well as my follow-up to it, for reasons why.

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •