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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to format the text inside "mailto:?subject 1

Status
Not open for further replies.

ffaucher

IS-IT--Management
Jul 31, 2000
102
CA
I have the following html code:
<a href=&quot;mailto:?subject=Test;body= Sentence1.Sentence2.&quot; &quot;Window.status=&quot;text&quot;>

How can one create a paragraph space between Sentence1. and Sentence2?

François Faucher
 
Hi François,

1) with %0d you can seperate lines.

2) I think you have to code & instead of ; between &quot; subject=Test&quot; &quot;body&quot;

So here is what I think you have to do:

<a href=&quot;mailto:?subject=Test&body= Sentence1.%0dSentence2.&quot;>this link</a>

see also Thread215-77050

Hope this helps,
Erik

 
Unfortunately, didn't work for me, the text stays all together with %0d or without.

François Faucher
 
I just discovered that %0A create the line feed.

François Faucher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top