WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Contact Form 7] Basic HTML (13 posts)

  1. murrayac
    Member
    Posted 5 years ago #

    Hey, how are you.

    I would like to put these two text fields next to each other (one on the left and the other on the right). I know it's basic html but I'm new to this, so a helping hand would be much appreciated. This is what I have at the moment.

    <p>First Name (required)<br />
        [text* first-name] </p>
    
    <p>Last Name(required)<br />
        [text* last-name] </p>

    All the best Muzza!

  2. murrayac
    Member
    Posted 5 years ago #

    bump

  3. Gixxer
    Member
    Posted 5 years ago #

    <table cellspacing="5" cellpadding="5" border="0">
    <tr>
    	<td><p>First Name (required)<br />
        [text* first-name] </p></td>
    	<td><p>Last Name(required)<br />
        [text* last-name] </p></td>
    </tr>
    </table>
  4. murrayac
    Member
    Posted 5 years ago #

    Thanks for the @Gixxer works like a charm. Muz!

  5. thebookmistress
    Member
    Posted 4 years ago #

    For some reason, my table goes to the bottom of the page. Can someone explain?

    Here is the problem form: http://cdnbgu.com/?page_id=163

  6. eugenealegiojo
    Member
    Posted 4 years ago #

    It seems that you had a lot of
    tags after this line 'Your contact and payment information is required by your local Canadian Associates of Ben-Gurion University of the Negev office to generate a tax receipt.'

  7. eugenealegiojo
    Member
    Posted 4 years ago #

    tags

  8. thebookmistress
    Member
    Posted 4 years ago #

    I didn't put any of the tags there, I am sure.

    My page contains the following:

    Your contact and payment information is required by your local Canadian Associates of Ben-Gurion University of the Negev office to generate a tax receipt.

    [contact-form 4 "Donation Form"]

    And the contact form starts on top with the table:

    <table cellspacing="5" cellpadding="5" border="0">
    <TR>
    <TD>First Name: [text* FirstName]</TD>
    <TD>Last Name: [text* LastName]</TD>
    </TR>
    <TR>
    <TD>Prefix: [select Prefix include_blank "Mr." "Mrs. " "Ms." "Mr. & Mrs." "Dr." "Drs." "Rabbi" "Rabbi & Mrs."]</TD>
    <TD>Organization: [text Organization]</TD>
    </TR><TR>
    <TD>Address: [text* Address]</TD>
    <TD>Apt./Suite: [text AptSuite]</TD>
    </TR>
    ......

  9. eugenealegiojo
    Member
    Posted 4 years ago #

    Review before the '<table>' tags. I found many '
    ' tags. If you're using Firefox browser you can use Firebug so that you can see those tags.

  10. eugenealegiojo
    Member
    Posted 4 years ago #

    I'm talking about 'break' tags before your 'table'

  11. thebookmistress
    Member
    Posted 4 years ago #

    Still don't see 'em. My form starts right at <table>.

  12. eugenealegiojo
    Member
    Posted 4 years ago #

  13. thebookmistress
    Member
    Posted 4 years ago #

    Thank you, thank you, thank you! These breaks are not coded anywhere where I could delete them, but this solution works.

Topic Closed

This topic has been closed to new replies.

About this Topic