ff14生产职业有什么用:为什么用户名和密码的输入框不能对齐?
来源:百度文库 编辑:神马品牌网 时间:2024/10/07 22:30:32
<input type="text" class=input2 size=10 name=un>
<input type="password" class=input2 size=10 name=pw>
设置了同样的大小,浏览时就是不能完全对齐
<input type="password" class=input2 size=10 name=pw>
设置了同样的大小,浏览时就是不能完全对齐
如果你是参考百度的代码,那你还有一段CSS没摘下来.
请把一下代码加入<head>与</head>之间
<style>
.input2 {font-size:14px;width:90px;height:24px}
</style>
按shift精确调整。