PDA

View Full Version : AnyLink Drop Down Menu Font colour



redlemon
11-16-2006, 03:56 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:
Is there any way one can change the link font colour from the default blue to another colour e.g. white?

selina
11-16-2006, 04:44 PM
You need to have a css style defined somewhere else.

For example, i you want your active links to be white, you would need to put this in your css:



/*defines active links color*/
a {
color: #E7EFE7;
background: inherit;
text-decoration: none;
}

/*defines the color the links turn when you hover your mouse*/
a:hover {
color: #FFFFFF;
background: inherit;
text-decoration: underline;
}


Also, I don't know how extensive your html/css knowledge is, but just so you know, i made your unhovered links be a really light grey and your hover color white. that way there is some slight difference. I also added an underline to the hovered links.

redlemon
11-16-2006, 04:48 PM
Brilliant, thanks!

selina
11-16-2006, 05:03 PM
happy to help!

let me know if it doesn't work.