摘要: 题目: 设置元素的top样式方案:ele.style.top = "0px";不兼容浏览器: 所有IE浏览器原因: IE浏览器的top值为数值型, left、right、bottom同样受影响解决方案:if (!(ele.style.top = "0px")) { ele.style.top ... 阅读全文
posted @ 2014-10-25 17:18 狂耳 阅读(525) 评论(0) 推荐(0) 编辑