Results 1 to 4 of 4

Thread: mail form script

  1. #1
    Join Date
    Nov 2011
    Posts
    24
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default mail form script

    Hello. When creating a mail form what it the proper code to add space between the label name and the text field, and what is the code to a space between text field a sitting above text field B?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    To insert a space between the label and the text field, you can either literally just put a space, or use &nbsp; As for line breaking, use the <br> element.

    Code:
    <form>
    
        <!-- Form input fields -->
    
        <label for="mailSubject">Subject:&nbsp;</label><input type="text" name="subject" id="mailSubject">​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​<br>
        <textarea name="body"></textarea>
    
    </form>​

  3. The Following User Says Thank You to Nile For This Useful Post:

    drosster (03-28-2012)

  4. #3
    Join Date
    Nov 2011
    Posts
    24
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    That did the trick, thank you!

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    No problem, I'm glad to help

    In an effort to keep things organized, you have the option to set a thread to resolved when an issue is fixed. To make the status of the thread resolved:
    1. Go to your first post
    2. Edit your first post
    3. Click "Go Advanced"
    4. In the dropdown next to the title, select "RESOLVED"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •