
文本框大小如何控制?
大家帮忙看看,我这样写不对么?<inputname="userId"type="text"class="d12"width="20"/><inputname="passw...
大家帮忙看看,我这样写不对么?
<input name="userId" type="text" class="d12" width="20"/>
<input name="password" type="password" class="d12" width="20"/>
为什么他俩的大小不一样啊?应该怎样做呢? 展开
<input name="userId" type="text" class="d12" width="20"/>
<input name="password" type="password" class="d12" width="20"/>
为什么他俩的大小不一样啊?应该怎样做呢? 展开
展开全部
<input name="userId" type="text" class="d12" size="20"/>
<input name="password" type="password" class="d12" size="20"/>
也可以用 style="width:100px" 这样的样式来控制;
还有,如果你的d12里有设置大小,那就会冲突。
<input name="password" type="password" class="d12" size="20"/>
也可以用 style="width:100px" 这样的样式来控制;
还有,如果你的d12里有设置大小,那就会冲突。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |