文本框的统一样式
在winxp中看到的文本框,如果默认情情况下,用户名框与密码框总是不统一的,这时你可以用统一样式办法来统一它。方法是:
<intpu type=text style="width:100px;height=20px"">
<intpu type=password style="width:100px;height=20px"">
如果要改变它的颜色还可以
<intpu type=text style="width:100ps;height=20ps color:#000000"">
还可以:(双击即清除)
<input name=word size="15" onMouseOver="this.focus()"
onBlur="if (value ==''){value='请输入关键字'}" onFocus="this.select()"
onClick="if(this.value=='请输入关键字')this.value=''">
|