Click to See Complete Forum and Search --> : Positioning Form Submit Buttons


aball65
08-29-2005, 03:58 PM
I would like the submit buttons to below to appear side by side. They currently appear one under another. Can someone please help?

<form action="u2customers.php" method="get">
<input type="hidden" name="dbid" value="{DBID}">
<table border ='1' cellpadding="3" cellspacing="3">
<tr>
<th class="fieldlabel">Mobile Phone</th>
<td align = "left">
<input class="fielddata" name="mobilephone" type="text" value="{MOBILEPHONE}">
</td>
</tr>
</table>
<input class="mediumbutton" type="submit" onClick="if ( confirm('Proceed With Update?') ) { return true; } else { return false; }" value="Update" name="Update">
</form>
<form action ="qacustomers.php" method = get>
<input class="mediumbutton" type="submit" value="Qry/Add" name="QA">
</form>
<form action ="u1customers.php" method = get>
<input class="mediumbutton" type="submit" value="Undo" name="Undo">
</form>
<form action ="home.php" method = get>
<input class="mediumbutton" type="submit" value="Home" name="B6">
</form>

Thanks

studbuckman
08-29-2005, 04:21 PM
Try putting your buttons in your table, something like...

<form action="u2customers.php" method="get">
<input type="hidden" name="dbid" value="{DBID}">
<table border ='1' cellpadding="3" cellspacing="3">
<tr>
<th class="fieldlabel">Mobile Phone</th>
<td align = "left">
<input class="fielddata" name="mobilephone" type="text" value="{MOBILEPHONE}">
</td>
</tr>
<tr>
<td>
<input class="mediumbutton" type="submit" onClick="if ( confirm('Proceed With Update?') ) { return true; } else { return false; }" value="Update" name="Update">
</form>
</td>
<td>
<form action ="qacustomers.php" method = get>
<input class="mediumbutton" type="submit" value="Qry/Add" name="QA">
</form>
</td>
<td>
<form action ="u1customers.php" method = get>
<input class="mediumbutton" type="submit" value="Undo" name="Undo">
</form>
</td>
<td>
<form action ="home.php" method = get>
<input class="mediumbutton" type="submit" value="Home" name="B6">
</form>
</td>
</tr>
</table>

Hope this helps.

aball65
08-29-2005, 04:44 PM
Thanks Brother!