打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
input属性 - 且歌且行 - JavaEye技术网站
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>input</title>
<style type="text/css">
<!--
input {border:1px solid #c00; background:#fff; }
input {star : expression(
onmouseover=function(){this.style.backgroundColor="#eee"},
onmouseout=function(){this.style.backgroundColor="#fff"})}
.in40 {width:40px;}
.in80 {width:80px;}
.in120 {width:120px;}
.in200 {width:200px;}
-->
</style>
</head>
<body>
姓名:<input class="in80" type="text" /><br />
年龄:<input class="in40" type="text" /><br />
性别:<input class="in40" type="text" /><br />
手机:<input class="in120" type="text" /><br />
地址:<input class="in200" type="text" /><br />
</body>
</html>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
用CSS控制输入框input样式,悬停交互如何实现
tabel隐藏第一行控制列宽
jquery中val()方法给元素赋予一个数组作为值
软件开发Jquery怎么循环遍历每个input框内容不能为空,并且正则验证必须为2-10个汉字,
css实现不固定长度圆角按钮,兼容所有浏览器
vertical-align:让表单与文字垂直对齐
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服