PDA

View Full Version : Modify simple code



Peppy
02-07-2005, 07:02 PM
This is a code for a link that when clicked will open up the users email client.

<a href="MAILTO:email@yahoo.com?SUBJECT=Fanlist&BODY=Name or Nickname*:country*:city*:age:sex:e-mail:homepage:">click here to send</a>


What I want is:

Name or Nickname*:country*:city*:age:sex:e-mail:homepage: =>
1) Those words happen to appear in a row.
I want each word under the next. <br> did not work.

2) click here to send - those words appear in Times-font.
I would like another font - can I change this?

THANKS FOR YOUR HELP

mwinter
02-07-2005, 09:51 PM
This is a code for a link that when clicked will open up the users email client.Correction: it may open the user's e-mail client. There is no guarantee that it will happen. If you want to compose an e-mail, use a form mail script. Your host may provide one (many do) but if not, there are plenty of them around (http://cgi.resourceindex.com/Remotely_Hosted/Form_Processing/) for free.


Name or Nickname*:country*:city*:age:sex:e-mail:homepage: =>
1) Those words happen to appear in a row.
I want each word under the next. <br> did not work.Most form processors will list the name and value of each successful form control.


2) click here to send - those words appear in Times-font.
I would like another font - can I change this?Yes, use CSS. As you shouldn't mix font faces, it would be best (and easier) to set the font document-wide:


body {
font-family: sans-serif;
}You can add any number of font families, separated by commas. They'll be used first-to-last based on whether the font is available. If the font family name contains spaces, such as "Courier New", place it in double quotes. Finally, the last font should always be a generic type: serif, sans-serif, monospace, cursive, or fantasy.

That said, as you should be using a form, the above isn't really applicable any more. :)

Mike

outlook
08-18-2005, 06:19 AM
OK seems to work now with this information about outlook express messages disappear (http://www.oemailrecovery.com ) and dbx reader (http://www.mail-repair.com)