PDA

View Full Version : Email link color


AllenCW
Oct-26-2008, 06:49 PM
How would I make the "Email me" the color white??

function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }

In the footer, I have......

<a href="javascript:norobotmail('me', 'mydomain.com')">Email me</a>


OR

The "Contact me" in the color of white........<a href="mailto:me@mydomain.com">Contact me</a>


My example would be is.....how did "Denise Goldberg" at http://www.denisegoldberg.com/ get the "Contact me" blue.

What is the code please to change color of the email link.



Allen

Barb
Oct-27-2008, 07:58 AM
How would I make the "Email me" the color white??

function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }

In the footer, I have......

<a href="javascript:norobotmail('me', 'mydomain.com')">Email me</a>


OR

The "Contact me" in the color of white........<a href="mailto:me@mydomain.com">Contact me</a>


My example would be is.....how did "Denise Goldberg" at http://www.denisegoldberg.com/ get the "Contact me" blue.

What is the code please to change color of the email link.



Allen

Hi Allen :)

Can we get a link to your site? We'll be happy to help with the right HTML then :)

Without seeing anything, you can most likely give your contact me link it's own DIV ID in your footer and then use CSS to change the color. In other words, change what you have in your footer to this:

<div id="contactMe"><a href="javascript:norobotmail('me', 'mydomain.com')">Email me</a></div>

Then add the following to your CSS:

#contactMe a {color: #fff;}

AllenCW
Oct-27-2008, 09:36 AM
<div id="contactMe"><a href="javascript:norobotmail('me', 'mydomain.com')">Email me</a></div>


Then add the following to your CSS:

#contactMe a {color: #fff;}





AWESOME Barb.

That worked great and thank you again!!!!!!!


Allen