How to add a left column onto this page?

Discussion in 'PHP' started by chrisj, Aug 14, 2007.

  1. #1
    I'm trying to modify this existing script to look like my Home page.

    My Home web page has a left column.

    I tried to add this line to this script page (code shown below):

    <td width="174" align="left"valign="top" bgcolor="#A30100">
    Code (markup):
    which I believed would show the left column.

    But, I know I need to add some other code. It appears that the column is flattened, and to the left, above the rest of this script page, instead of next-to the rest of this page. Can you help me? I've provided a truncated version of this page as an aid to someone helping me. Thanks.


    <link href="../style.css" rel="stylesheet" type="text/css" /><style type="text/css"></style>
    
    <table cellpadding="0" width="770" height="100%" cellspacing="0" bgcolor="#FFFFFF" style="border-right: solid 1px #6b6b6b">
    
    <td width="174" align="left"valign="top" bgcolor="#A30100">
    
    <form method="POST" action="index.php">
    <tr>
    	  <td width="140" rowspan="21" id="menu">&nbsp;</td>
        <td>&nbsp;</td></tr>
    	
    	<input class='field' type='hidden' name='command' value='account'>
    	<input class='field' type='hidden' name='param' value='signup'>
    	<tr>
    	  <td class='pageTitle'><span class="hLine"> <font face="Arial" color=#000000" size="3" Style="padding: 5px;">&nbsp;Create New Account</span></td>
    	  <td class='pageTitle'>&nbsp;</td>
    	</tr>
    	
    	<tr>
    	  <td class='fieldLabel' width="30%"><font face="Arial" color=#000000" size="3" Style="padding: 5px;">&nbsp;Membership Type</td>
    		<td align="center">[account_type_panel]</td></tr>
    	
    	<tr>
    	  <td class='fieldLabel' width="30%"> <font face="Arial" color=#000000" size="3" Style="padding: 5px;">&nbsp;Email Address</td>
    		<td><input class='field' type='text' size='40' maxlength="30" name='user_name' value='<?=$account->user_name ?>'>
    			<span class='requiredField'>&nbsp;*&nbsp;</span><br> Your files <span class='errorMessage'><?=$account->get_error('user_name') ?></span></td>
    	</tr>
    	</form>
    </table>
    
    Code (markup):
     
    chrisj, Aug 14, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Aug 14, 2007 IP
  3. mikeloring

    mikeloring Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i think you need a space =P
    Here is what you have:
    align="left"valign="top"

    Should be:
    align="left" valign="top"

    Maybe I'm wrong, but looked kinda obvious to me.
     
    mikeloring, Aug 14, 2007 IP