Log in

View Full Version : 2 CSS Links 1 Page



nate51
01-29-2008, 08:04 PM
I am using the "AnyLink Drop Down Menu" from this site but a problem I was able to forsee but have no control over is the links on the drop downs are white text and only the background colour of their boxes change colour on mouse over.

Problem now is I have 2 email address' (text) on a white page and when I turn them into email links they go white and cannot be seen.

Is there a way to keep my CSS drop down menu colours the same but have another CSS control the link colours on the page?

Medyman
01-29-2008, 08:22 PM
just add a line into the menu's css (see highlighted part):



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

nate51
01-29-2008, 09:30 PM
Perfect, that did it!

Thanks Medyman.