摘要: 以下是jQuery API文档对attr方法和prop方法的概述: attr(name|properties|key,value|fn):Get the value of an attribute for the first element in the set of matched element 阅读全文
posted @ 2016-05-14 17:46 herofei 阅读(471) 评论(0) 推荐(0)
摘要: 由于公司项目要求兼容到IE6,这之中遇到不少CSS兼容性问题,所以就在博客汇总下来,以后在项目中遇到新的兼容性问题,也会在这里更新。 1.IE6下height属性会失效 问题描述:在IE6下,即使块级元素设置了高度,但若元素内部的内容超出设置高度,内部内容会把该块级元素高度撑开,height失效。 阅读全文
posted @ 2016-05-14 16:58 herofei 阅读(816) 评论(0) 推荐(0)