Page 1 of 1

I need some help with HTML :$

Posted: Mon Aug 13, 2007 8:23 am
by Omoc
Like the title says :$ Here is the thing:

I am trying to make an email form on my webpage using this code:

Code: Select all

<a href="mailto:mail@mail.com?subject=RandomSubject &
body=Body of the email , Body of the email" class="mail1">mail@mail.com</a>



Here is the problem. I would like to make that the body text in email that opens would be in more lines. for example:
When people would click the link it would open an email:

Code: Select all

Subject: RandomSubject
Body of an email: Body of the email


Body of the email


Do you understand what i mean :$ ?

Thank you all for help


Cheers

p.s. hope this is the right section :)

Re: I need some help with HTML :$

Posted: Tue Aug 14, 2007 12:00 pm
by Come_Forth
I am not really sure what your question is but here is a basic email form:

Code: Select all

<form action="mailto:someone@blah.com enctype="text/plain" method="post">
<p>Name: <input name="Name" type="text" id="Name" size="40"></p>
<p>E-mail: <input name="E-mail" type="text" id="E-mail" size="40"></p>
<p>Comment:</p>
<p><textarea name="Comment" cols="55" rows="5"
id="Comment"></textarea></p>
<p><input type="submit" name="Submit" value="Submit"></p>


That is pretty easy to edit to fit your site.

Re: I need some help with HTML :$

Posted: Tue Aug 14, 2007 12:14 pm
by Omoc
Yes, this is all good and nice :$ but i would like it to be in more than just one line once the email sender is open.

When i use this form of yours, and press submit, it's all nice, but all inputed test is in one line :(

How can i change that?

Re: I need some help with HTML :$

Posted: Tue Aug 14, 2007 3:50 pm
by Come_Forth
I don't know how to fix that I have not coded with html in a couple of years. This site http://www.ibdhost.com/contact/ has a contact form that uses php. If your host allows php then it might be a good option. I know nothing about php so I am not sure how good it is.

Re: I need some help with HTML :$

Posted: Wed Aug 15, 2007 12:32 am
by Omoc
Thanks alot :) But i have no idea about php either :D, so if someone has any idea how to solve this is htnl, please, help me :D

Thanks
Cheers