• Resolved dudewalker

    (@dudewalker)


    I am attempting to create columns withing Contact Form 7 using
    Syntax:

    <table><td><td>DATA></td></tr></table

    The form works fine, however, excess lines are inserted before the table. Does anyone know how to address this issue?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The code you entered above has an error in it. Don’t know if you made a typo entering the post or are using bad code on the plugin admin page.
    This <table><td><td>
    should be this <table><tr><td>

    If that is not the problem, its unclear what “excess lines are inserted before the table” means. What does the rest of the code you are entering look like?

    Thread Starter dudewalker

    (@dudewalker)

    It was actually a typo when I posted the question.

    I am trying to creat 3 columns wide in a table.

    Here is the actual coding:

    Music Tastes
    <TABLE>
    <TR><TD>[checkbox music40s “40s”]</TD><TD>[checkbox music50s “50s”]</TD><TD>[checkbox music60s “60s”]</TD></TR>
    <TR><TD>[checkbox music70s “70s”]</TD><TD>[checkbox music80s “80s”]</TD><TD>[checkbox music90s “90s”]</TD></TR>
    <TR><TD>[checkbox music2000s “2000s”]</TD><TD>[checkbox musicAlternative “Alternative”]</TD><TD>[checkbox musicBlues “Blues”]</TD></TR>
    <TR><TD>[checkbox musicClassicRock “Classic Rock”]</TD><TD>[checkbox musicClassical “Classical”]</TD><TD>[checkbox musicCountry2Steps “Country 2 Steps”]</TD></TR>
    <TR><TD>[checkbox musicCountryClassic “Country Classic”]</TD><TD>[checkbox musicCountryModern “Country Modern”]</TD><TD>[checkbox musicDisco “Disco”]</TD></TR>
    <TR><TD>[checkbox musicFunk “Funk”]</TD><TD>[checkbox musicHairBands “Hair Bands”]</TD><TD>[checkbox musicHardRock “Hard Rock”]</TD></TR>
    <TR><TD>[checkbox musicHipHop “Hip Hop”]</TD><TD>[checkbox musicJazz “Jazz”]</TD><TD>[checkbox musicJitterbug “Jitterbug”]</TD></TR>
    <TR><TD>[checkbox musicNewWave “New Wave”]</TD><TD>[checkbox musicPolka “Polka”]</TD><TD>[checkbox musicRB “R&B”]</TD></TR>
    <TR><TD>[checkbox musicRap “Rap”]</TD><TD>[checkbox musicRockabilly “Rockabilly”]</TD><TD>[checkbox musicSalsa “Salsa”]</TD></TR>
    <TR><TD>[checkbox musicSoul “Soul”]</TD><TD>[checkbox musicSouthernRock “Southern Rock”]</TD><TD>[checkbox musicSwing “Swing”]</TD></TR>
    <TR><TD>[checkbox musicTechno “Techno”]</TD><TD>[checkbox musicTop40 “Top 40”]</TD><TD>[checkbox musicWaltz “Waltz”]</TD></TR>
    </TABLE>

    I end up with the same amount of line the table produces between TEXT “Music Tastes” and the actual table.

    Thread Starter dudewalker

    (@dudewalker)

    ** BUMP **

    Hi

    I don’t know why, but the plugin is inserting 12 BR tags in between the header line and the start of the table display. That’s approx one per TR

    If you want a workaround, this worked for me.
    <TABLE style="margin-top: -190px;">

    You may have to adjust the 190. The plugin author is often on this forum. Perhaps he will see this and explain why this is happening.

    Thread Starter dudewalker

    (@dudewalker)

    Rock On!!

    Totally addres the issue.

    Here’s the page:

    https://dudewalker.org/rates-request-wedding-dj-price-quote/

    You get a big brain hug from me…

    I’m sure that’s sound creepy…but HEY! It’s almost Halloween.

    Thread Starter dudewalker

    (@dudewalker)

    PS: Never thought about the negative px value to truncate whitespace to last text.

    Something more or less and issue with table’s withing the plugin.

    I guess I’ll heads up the plugin author for a bug fix solution. I’ll give you the credit!

    I know this is an old thread, but I found out some information that will help others who may land here from a search.

    I had the same problem with using tables. It turns out that my problem was caused by the cut and paste process. I wrote the code in gedit, had it all looking real pretty, copied it to the clip board and then into the edit field in the Contact Form 7 plugin page, saved it. The form was about a mile long in the browser! So,in a, (Linix),terminal window using vi I striped all the returns out of the code between <table> and </table>. Copied it into Contact Form 7 and the layout is perfect. Even tried copying the structured HTML code from vi. No joy. The form had a bunch of white space.

    Hope this helps.
    Dan

    dscoggins
    im TRYING to position my form so that it has two columns, not one long form on my page. im using div tags and CSS.

    can i embed the css in the form edit page? or does the CSS have to go in my themes .css file.
    please help
    HH

    Hi! i am facing the same problem of tables. that the chekboxes i have put display below the table and it should be inside.
    you have discussed about this but i dont know where i have to search these lines in directory
    <TABLE style=”margin-top: -190px;”>

    can any body help me please..thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Contact Form 7’ is closed to new replies.