下面的代碼適用於我所需要的(三個水平按鈕),除非它不居中。它位於屏幕的左側。我做了一些研究,無法修復它,並嘗試使用「float」和「display:inline」的無表設計,但無法使其居中。請幫助!如何將表格放在表格中間?
<table>
<td>
<tr>
<form method="get" action="index.php"><button type="submit">Home</button></form>
<form method="get" action="signup"><button type="submit">Create Account</button></form>
<form method="get" action="login"><button type="submit">Login to Account</button></form>
</tr>
</td>
</table>
你真的不應該用表格來這... – Bart 2014-09-28 19:07:53