我想对齐删除行和取消按钮,以便它们在屏幕上显示在一行中。
<table>
<td colspan="7">
<form action="<?php echo appurl('administration); ?>" onsubmit="return delRowsExtra()" method="post" name="del">
<input type="hidden" id="selectedDel" name="selectedDel"/>
<input type="hidden" id ="degr" name="degr" value="<?php echo $t['degree']; ?>"/>
<input type="hidden" id="bat" name="bat"/>
<input type="hidden" id="sec" name="sec"/>
<input type="hidden" id="sem" name="sem"/>
<input type="hidden" id="accTy" name="accTy"/>
<input type="submit" value="Delete Row" style="margin-left:125px"/>
</form>
</td>
<td>
<form action="<?php echo appurl('administration'); ?>" onsubmit="return validate()" method="post" name="mainPage">
<br/><input type="submit" value="Cancel" style="margin-left:150px" />
</form>
</td>
</table>
JSfiddle:http: //jsfiddle.net/JMudE/