How to form 2 column table in css on wordpress plugin <p>I'm trying to form a table with 2 columns on a form used by a WordPress plugin. So far I have tried to indent the right hand column using basic indents but the end result ends up where the column on the right isn't exactly vertically inline ( i'm assuming because the text labels are different size). I have tried using a type table but everything goes crazy.</p> <p>i thought to use code like the following but cant seem to figure out where to put it:</p> <pre><code>&lt;style type="text/css"&gt; #wrap { width:600px; margin:0 auto; } #left_col { float:left; width:300px; } #right_col { float:right; width:300px; } &lt;/style&gt; &lt;div id="wrap"&gt; &lt;div id="left_col"&gt; ... &lt;/div&gt; &lt;div id="right_col"&gt; ... &lt;/div&gt; &lt;/div&gt; </code></pre> <p>The code i'm using for my form is as follows:</p> <pre><code>&lt;?php /* If you would like to edit this file, copy it to your current theme's directory and edit it there. Theme My Login will always look in your theme's directory first, before using this default template. */ ?&gt; &lt;div class="login" id="theme-my-login&lt;?php $template-&gt;the_instance(); ?&gt;"&gt; &lt;?php $template-&gt;the_action_template_message( 'register' ); ?&gt; &lt;?php $template-&gt;the_errors(); ?&gt; &lt;form name="registerform" id="registerform&lt;?php $template-&gt;the_instance(); ?&gt;" action="&lt;?php $template-&gt;the_action_url( 'register' ); ?&gt;" method="post"&gt; &lt;p style="float:left; padding-right:10px;"&gt;&lt;label for="user_firstname&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'First Name:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_firstname" id="user_firstname&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_firstname' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;p style="float:left; padding-right:10px;"&gt;&lt;label for="user_lastname&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'Last Name:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_lastname" id="user_lastname&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_lastname' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;p style="float:left; padding-right:40px;"&gt;&lt;label for="user_email&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'E-mail:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_email" id="user_email&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_email' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;p style="float:left; padding-right:10px;"&gt;&lt;label for="user_tel&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'Telephone:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_tel" id="user_tel&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_tel' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;p style="float:left; padding-right:35px;"&gt;&lt;label for="user_mobile&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'Mobile:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_mobile" id="user_mobile&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_mobile' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;p style="float:left; padding-right:30px;"&gt;&lt;label for="user_country&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'Country:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_country" id="user_country&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_country' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;p style="float:left; padding-right:15px;"&gt;&lt;label for="user_login&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'Username:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_login" id="user_login&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'username' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;?php do_action( 'register_form' ); // Wordpress hook do_action_ref_array( 'tml_register_form', array( &amp;$template ) ); //TML hook ?&gt; &lt;p id="reg_passmail&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php echo apply_filters( 'tml_register_passmail_template_message', __( 'A password will be e-mailed to you.', 'theme-my-login' ) ); ?&gt;&lt;/p&gt; &lt;p class="submit"&gt; &lt;input type="submit" name="wp-submit" id="wp-submit&lt;?php $template-&gt;the_instance(); ?&gt;" value="&lt;?php _e( 'Register', 'theme-my-login' ); ?&gt;" /&gt; &lt;input type="hidden" name="redirect_to" value="&lt;?php $template-&gt;the_redirect_url( 'register' ); ?&gt;" /&gt; &lt;input type="hidden" name="instance" value="&lt;?php $template-&gt;the_instance(); ?&gt;" /&gt; &lt;/p&gt; &lt;/form&gt; &lt;?php $template-&gt;the_action_links( array( 'register' =&gt; false ) ); ?&gt; &lt;/div&gt; </code></pre> <p>I can see that this is really a basic question but I have been trying for hours and keep coming up with all manner or crazy. </p> <p>Can anyone point me in the right direction? Please...?</p> <p>I have updated to the following code but is still not working:</p> <pre><code>&lt;?php /* If you would like to edit this file, copy it to your current theme's directory and edit it there. Theme My Login will always look in your theme's directory first, before using this default template. */ ?&gt; &lt;div class="login" id="theme-my-login&lt;?php $template-&gt;the_instance(); ?&gt;"&gt; &lt;?php $template-&gt;the_action_template_message( 'register' ); ?&gt; &lt;?php $template-&gt;the_errors(); ?&gt; &lt;form name="registerform" id="registerform&lt;?php $template-&gt;the_instance(); ?&gt;" action="&lt;?php $template-&gt;the_action_url( 'register' ); ?&gt;" method="post"&gt; &lt;div id="regwrap"&gt; &lt;div id="regleft_col"&gt; &lt;p&gt;&lt;label for="user_firstname&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php _e( 'First Name:', 'theme-my-login' ) ?&gt;&lt;/label&gt;&lt;/p&gt; &lt;/div&gt; &lt;div id="regright_col"&gt; &lt;p&gt;&lt;/p&gt;&lt;input type="text" name="user_firstname" id="user_firstname&lt;?php $template-&gt;the_instance(); ?&gt;" class="input" value="&lt;?php $template-&gt;the_posted_value( 'user_firstname' ); ?&gt;" size="20" /&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php do_action( 'register_form' ); // Wordpress hook do_action_ref_array( 'tml_register_form', array( &amp;$template ) ); //TML hook ?&gt; &lt;p id="reg_passmail&lt;?php $template-&gt;the_instance(); ?&gt;"&gt;&lt;?php echo apply_filters( 'tml_register_passmail_template_message', __( 'A password will be e-mailed to you.', 'theme-my-login' ) ); ?&gt;&lt;/p&gt; &lt;p class="submit"&gt; &lt;input type="submit" name="wp-submit" id="wp-submit&lt;?php $template-&gt;the_instance(); ?&gt;" value="&lt;?php _e( 'Register', 'theme-my-login' ); ?&gt;" /&gt; &lt;input type="hidden" name="redirect_to" value="&lt;?php $template-&gt;the_redirect_url( 'register' ); ?&gt;" /&gt; &lt;input type="hidden" name="instance" value="&lt;?php $template-&gt;the_instance(); ?&gt;" /&gt; &lt;/p&gt; &lt;/form&gt; &lt;?php $template-&gt;the_action_links( array( 'register' =&gt; false ) ); ?&gt; &lt;/div&gt; </code></pre>