I am trying to get the image to show in a row next to the form, instead of above it. The image (realtorsmall.gif) is showing on the left and the form on the right, but the image is above the form. How do I get the image to show beside the form? Here is my code...
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
Code:
echo table_header ( $lang['Realtor_Search'], ' <img src="templates/default/images/realtor_logo_small.gif" width="17" height="21">' );
echo '
<form action="' . URL . '/usersearch.php" method="POST">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
';
echo ' <tr>
<td width="70%" align="left" valign="top" <img src="templates/default/images/RealtorSmall.gif">
</td>
</tr>';
echo userform ($lang['Realtor_First_Name'], '<input type="text" size="45" name="realtor_first_name" maxlength="255">');
echo userform ($lang['Realtor_Last_Name'], '<input type="text" size="45" name="realtor_last_name" maxlength="255">');
echo userform ($lang['Realtor_Company_Name'], '<input type="text" size="45" name="realtor_company_name" maxlength="255">');
echo userform ($lang['Search_Keyword'], '<input type="text" size="45" name="realtor_description" maxlength="100">');
echo userform ($lang['Location'], '<select name="realtor_location"><option value="ANY" SELECTED>' . $lang['Search_Any'] . ' ' . $lang['Location'] . '</option>' . generate_options_list(LOCATIONS_TABLE) . '</select>');
echo userform ($lang['City'], '<input type="text" size="45" name="realtor_city" maxlength="50">');
echo userform ($lang['Zip_Code'], '<input type="text" size="45" name="realtor_zip_code" maxlength="20">');
// Submit button
echo userform ('', '<input type="Submit" name="realtor_search" value="' . $lang['Realtor_Search'] . '">');
echo '
</table>
</form>
';
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.