HTML
mafei912
这个作者很懒,什么都没留下…
展开
-
文本框提示内容
无标题页 function cls(){ //捕获触发事件的对象,并设置为以下语句的默认对象 with(event.srcElement) //如果当前值为默认值,则清空 if(value==defaultValue) value="" } function res(){ //捕获触发事件的对象,并设置为以下语句的默认对象 with(event.srcEle原创 2012-04-17 10:19:28 · 378 阅读 · 0 评论 -
点击文本框的时候才弹出验证码信息
一个和论坛验证码相似的功能_/ .header { width:58px; height:23px; background-color:#009999; font-size:14px; color:red; display:none; } <!-- function dian() { if( txt原创 2012-04-17 10:33:11 · 1442 阅读 · 0 评论 -
框架iframe自适应高度
原创 2012-06-01 11:45:43 · 258 阅读 · 0 评论 -
div的链接的颜色
css样式中:a:link { color: #000000;/*链接颜色*/ text-decoration: none;/*无下划线*/} a:visited { text-decoration: none;/*无下划线*/ color: #FF0000;/*已访问过颜色*/} a:hover { text-decoration: none;/*无下划线*/ color: #000000;原创 2012-07-18 17:26:50 · 448 阅读 · 0 评论 -
DIV清除浮动 高度自适应 兼容IE6
clear:both; overflow:auto; zoom:1; 清除浮动 高度自适应 兼容IE6原创 2012-08-07 09:14:32 · 348 阅读 · 0 评论 -
Div+Css技能积累
//编辑器自动换行样式 style="word-wrap: break-word;" //用DIV添加虚线 border-bottom: 1px black dashed;文本框清除历史记录属性:autocomplete=off ;原创 2012-06-02 14:34:47 · 411 阅读 · 0 评论 -
HTML知识累积
HTML绑定数据计算原创 2014-10-29 16:18:29 · 398 阅读 · 0 评论