文本框和密碼框長度和高度不一樣的解決方法

因為密碼默認都用·代替了文字,所以肯定是比文本要小,如果用CSS定義就不會出現問題啦。
代碼如下:

1
2
3
4
5
6
7
<form name="admin_login" method="post" action="admin_check.asp">
賬號:
<input name="admin_user" type="text" style="width:120px;height:25px;">
密碼:
<input name="admin_pswd" type="password" style="width:120px;height:25px;">
<input type="image" name="sumbit" src="images/login_sumbit.gif" width="60" height="20" border="0">
</form>