Click to See Complete Forum and Search --> : button in a table


Beach Bum
06-09-2003, 11:07 AM
I want to put a button (a form) inside a table (for consistency reasons I want to use a button rather than other methods). Example:

<td>
<form method=post action='vote.php'>
<input type=submit value='vote'>
</form>
</td>

My problem is that the form causes a line break and so my table row ends up 2 lines high. I have tried to force row height and everything I can think of. Anyone know how to do this without making the row 2 lines high?

CyCo
06-09-2003, 11:17 AM
<form method=post action='vote.php' style="margin:0;">

Beach Bum
06-09-2003, 11:35 AM
Perfect . . . thank you :)

CyCo
06-09-2003, 11:41 AM
you bet...