如何使用 CSS 对齐(垂直)一些文本输入字段?例如在以下:
<form action='<?= $_SERVER['PHP_SELF']; ?>' method='post'>
<p><label for='username' class=''>Username:</label>
<input type='text' name='username' id='username' class='field' value='' tabindex='10' /></p>
<p><label for='password' class=''>Password:</label>
<input type='text' name='password' id='password' class='field' value='' tabindex='20' /></p>
<p><label for='e-mail' class=''>E-mail:</label>
<input type='text' name='e-mail' id='e-mail' class='field' value='' tabindex='35' /></p>
<p><input type='submit' name='insert' id='insert' class='button' value='Insert!' tabindex='40' /></p>
</form>
除了使用桌子,我还能做些什么吗?
谢谢帕特里克