摘要: onKeyPress="if((event.keyCode57)&&event.keyCode!=46||/\.\d\d$/.test(value))event.returnValue=false"利用KeyPress事件,可以过滤掉不符合的一些键值。 项目中有个需要在鼠标不移出输入框的时候校验整数... 阅读全文
posted @ 2014-07-03 17:37 heimanba 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 首先要进行resettable{border-collapse:collapse;border-spacing:0;}th{text-align:inherit;}1.caption标签对整个表格的一个描述性的概述2. 标签用于对表格中的列进行组合,以便对其进行格式化, 元素为表格中的每个列定义... 阅读全文
posted @ 2014-07-03 10:24 heimanba 阅读(459) 评论(0) 推荐(0) 编辑
摘要: HTML123CSS1.load-tip{padding:1px;width:246px;height:10px;border:1pxsolid#b7b7b7;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;ove... 阅读全文
posted @ 2014-07-03 09:37 heimanba 阅读(156) 评论(0) 推荐(0) 编辑