Thursday, March 29, 2012

Mailto: change color setting?

Hi,

I have added a line of code which displayes an email address as a Hyperlink - it is displayed in dark Blue. Very hard to read on a black background.

I have tried to change the color setting but it gets overridden by some sort of Default (dark Blue)!

<spanstyle="color: #9999ff; font-size: 10pt; font-family: Arial; text-decoration: underline;"><ahref=mailto:Me@dotnet.itags.org.MyWebSite.com>

Me@dotnet.itags.org.MyWebSite.com</a></span>

How can I change the color to a lighter blue?

well, it's a css style, and it's set on the anchor tag, not the span.

try this:

<style type="text/css">
A:link {text-decoration: none; color: #0000cc;}
A:visited {text-decoration: none; color: #0000cc;}
A:active {text-decoration: none; color: #0000cc;}
A:hover {text-decoration: underline; color: #0000cc;}
</style


<a href="http://links.10026.com/?link=test.aspx" style="color:#9999ff; font-size: 10pt; font-family: Arial;">test me </a>

0 comments:

Post a Comment