Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Like That Works in Both IE & Navigator? 2

Status
Not open for further replies.

flasher40

Technical User
Joined
Apr 13, 2007
Messages
80
Location
US
Hi, the code below works in IE but not in Navigator. Is there a similar (and as simple) code that is compatible with the latest versions of both browsers?

Thanks, Bill

<a href="mailto:name@provider.com?subject=RE SERVICES&body=NOTE: Please do not change the Subject title"</a> <STRONG><FONT FACE="arial" SIZE="3" COLOR="#ff0000"
onmouseover="this.style.color='#FF796D'"onmouseout="this.style.color='#ff0000'">Contact Me</FONT></STRONG></A>
 
Invalid markup aside (you do not correctly close the opening anchor tag), you've not said what part of the code doesn't work. For example, does the link itself not work? Is it the mouse effects that doesn't work?

So, try correcting the markup, escaping the spaces and colons in your HREF attribute to %20 and %3A, and removing the old and outdated FONT markup:

Code:
<a href="mailto:name@provider.com?subject=RE%20SERVICES&body=NOTE%3A%20Please%20do%20not%20change%20the%20Subject%20title">Contact Me</a>

Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Thanks for the help, folks!

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top