图片
CSS
JS广告
便捷
下载
解答
截图
高清壁纸
后台模板
PS插件
网页特效
Css新闻
推荐代码
页面应用
技术文章
图片展示
广告条
广告代码
软件类
在线工具
常用信息
动画制作
图片处理
辅助小工具
转换软件
其他
软件问题
系统问题
网页问题
常识整理
互联网价值
网站
图标
APP
按钮
公告
2013网站频道新版上线,功能持续完善中……
02.17
更新
mac系统PS数位板没有压感解决方案
01.27
查看windows10系统是否激活
08.31
windows10激活失败,亲测最有效的解决方法
08.31
Mac OS 您需要安装旧 Java SE 6 运行环境才能打开
04.10
Adobe adobeau2017英文转换为中文[汉化方法]
04.01
Mac电脑系统翻墙方法
05.26
最全手机APP中的尺寸规范
05.12
中文WebFont解决方案Font-Spider
09.02
互联网
JS控件
按钮
黑色
灰色
白色
蓝色
绿色
黄色
橙色
>
代码
>
表单
JS+div鼠标经过表单文本框显示提示效果
上一篇
下一篇
0
作者:vip_260 来源:未知 日期:2010/2/2 11:56:44 人气:
标签:
<!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
<!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>JS+CSS实现的一种交互体验</title> <style> @charset "utf-8"; /*元素初始值*/ html {background: #FFF;} body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,ins,hr{margin: 0px;padding: 0px;} p{cursor: text;} h1,h2,h3,h4,h5,h6{font-size:100%;} ol,ul{list-style-type: none;} address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:normal;} table{border-collapse:collapse;} fieldset,img{border:0;} img{display:block;} caption,th{text-align:left;} body{position: relative;font-size:62.5%;font-family: "宋体"} a{text-decoration: none;} /*demo所用元素值*/ #need {margin: 20px auto 0;width: 610px;} #need li {height: 26px;width: 600px;font: 12px/26px Arial, Helvetica, sans-serif;background: #FFD;border-bottom: 1px dashed #E0E0E0;display: block;cursor: text;padding: 7px 0px 7px 10px!important;padding: 5px 0px 5px 10px;} #need li:hover,#need li.hover {background: #FFE8E8;} #need input {line-height: 14px;background: #FFF;height: 14px;width: 200px;border: 1px solid #E0E0E0;vertical-align: middle;padding: 6px;} #need label {padding-left: 30px;} #need label.old_password {background-position: 0 -277px;} #need label.new_password {background-position: 0 -1576px;} #need label.rePassword {background-position: 0 -1638px;} #need label.email {background-position: 0 -429px;} #need dfn {display: none;} #need li:hover dfn, #need li.hover dfn {display:inline;margin-left: 7px;color: #676767;} </style> <script type="text/javascript"> function suckerfish(type, tag, parentId) { if (window.attachEvent) { window.attachEvent("onload", function() { var sfEls = (parentId==null)?document.getElementsByTagName(tag):document.getElementById(parentId).getElementsByTagName(tag); type(sfEls); }); } } hover = function(sfEls) { for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" hover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" hover\\b"), ""); } } } suckerfish(hover, "li"); </script> </head> <body> <ol id="need"> <li><label class="old_password">原始密码:</label> <input name='' type='password' id='' /></li> <li><label class="new_password">新的密码:</label> <input name='' type='password' id='' /><dfn>(密码长度为6~20字节。不想修改请留空)</dfn></li> <li><label class="rePassword">重复密码:</label> <input name='' type='password' id='' /></li> <li><label class="email">邮箱设置:</label> <input name='' type='text' id='' /><dfn>(Codemoz! 承诺绝不会给您发送任何垃圾邮件。)</dfn></li> </ol> </body> </html>
加关注
关于我们
帮助中心
意见反馈
设计导航
Copyright 2008
网站频道
All Rights Resverved.
提供:网页特效 JS广告 网站截图 酷站推荐 交流群:3506863
页面执行时间0.0469秒 查询数据库8次