Need help with this HTML code...

by 8 replies
9
Hi guys, I'm basically doing an opt-in form and I'm using YMLP.com as my AR.

What I want to do is just move the form from the left to the middle and remove the frames (borders) of the table.

Can anyone please help me? I've spent 3 hours trying to fix this with no luck (no programming experience...)

Here's my page code:

<h3 style="text-align: center;">CONGRATULATIONS, VISITOR NUMBER #724!</h3>
<h2 style="text-align: center;"><span style="color: #ff0000;">YOUR <strong>PERSONAL*</strong>GOAL SETTING GUIDE!</span></h2>
<p style="text-align: center;"><img class="aligncenter" src="http://www.theplrmart.com/623-670-large/your-goal-setting-guide.jpg" alt="goal setting" width="300" height="300" /></p>

<form action="http://ymlp.com/subscribe.php?id=gmeweysgmgq" method="post" onsubmit="window.open( 'http://ymlp.com/subscribe.php?id=gmeweysgmgq','signup_popup','scro llbars=yes,width=600,height=450'); return true;" target="signup_popup">
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tbody>
<tr>
<td style="text-align: center;" colspan="2"><span style="font-family: verdana, geneva; font-size: 10pt;"><strong>Where should we send this free guide?</strong></span></td>
</tr>
<tr>
<td style="text-align: center;" valign="top"><span style="font-family: verdana, geneva; font-size: 10pt;">E-mail address:</span></td>
<td style="text-align: center;" valign="top"><input type="text" name="YMP0" size="20" /></td>
</tr>
<tr>
<td style="text-align: center;" colspan="2"><input type="Submit" value="Send me the free guide" /></td>
</tr>
</tbody>
</table>
</form>
#programming #code #html
  • Hi zannix,
    I checked with the HTML codes & saw it's just in the way you want it (without any other CSS). I'm pretty much sure your website CSS is making it left aligned. Please give me your website url. Don't worry, it's just a few minutes task.

    Regards,
    Quazi Touheed
  • This is in an email you're working on, correct?

    If so, can you preview the email, view the source, and paste the source code here?
  • What browser are you viewing this in? Because on chrome it's centered, looks good, and there's no visible tables or borders.
    • [1] reply
    • Free Life Tips: Home this is the site i tried pasting the code to... since i didnt get it to fit in the middle, i now used an image which leads to the optin....

      but i'd really like to have that optin box instead of the image :/
  • Paste this style code above the table:

    Change your table open tag from this

    to this:

    Hope helps
    • [1] reply
    • It worked! Thank you so much!
      • [1] reply
  • Wow, that theme has a lot of unnecessary markup. Uses 16 divs to make the body when it only needs one.

Next Topics on Trending Feed

  • 9

    Hi guys, I'm basically doing an opt-in form and I'm using YMLP.com as my AR. What I want to do is just move the form from the left to the middle and remove the frames (borders) of the table.