上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: window.location.reload(); 阅读全文
posted @ 2014-07-29 18:21 mabel_on_line 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 弹出层透明背景加框的常用样式和结构.alertMessageBg{ position:fixed; _position:absolute; width:100%; height:100%; left:0; top:0; background:#000; ... 阅读全文
posted @ 2014-07-25 17:13 mabel_on_line 阅读(2653) 评论(0) 推荐(0) 编辑
摘要: var bgWidth = document.body.clientWidth + 'px', bgHeight = document.body.clientHeight + 'px', alertBgNode = $('.alertMessage... 阅读全文
posted @ 2014-07-25 14:40 mabel_on_line 阅读(233) 评论(0) 推荐(0) 编辑
摘要: if (!+[1,]) { //IE window.event.returnValue = false; } else { ... 阅读全文
posted @ 2014-07-21 18:28 mabel_on_line 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-07-20 15:38 mabel_on_line 阅读(586) 评论(0) 推荐(0) 编辑
摘要: ie7下绝对定位元素即使z-index值很高,如果其设置相对定位的父元素没有设置z-index值的话,其可能(这种可能性当然是布局存在遮盖的时候)会被后面设置了相对定位的元素遮挡(即使后面的相对定位的元素没有设置z-index值); 如果上下这两个div存在互相遮盖的情况,那么下面的div会遮盖住... 阅读全文
posted @ 2014-07-18 18:28 mabel_on_line 阅读(3906) 评论(0) 推荐(0) 编辑
摘要: IE6/7是不支持display:inline-block属性,只是让其表现的跟inline-block一样,尤其对于inline水平的元素,其表现度可以用perfect一词来形容了。对于IE8+以及现代浏览器,直接使用:{display:inline-block;}就可以了,支持任意水平的元素。对... 阅读全文
posted @ 2014-07-16 18:02 mabel_on_line 阅读(3573) 评论(0) 推荐(0) 编辑
摘要: 如果 li 未浮动,而 li 子元素浮动,则ie6和ie7下会出现间隙,解决办法是给 li 写上css hack *vertical-align:bottom; 阅读全文
posted @ 2014-07-16 17:45 mabel_on_line 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 一句white-space:nowrap解决IE6,IE7下浮动元素不自动换行 阅读全文
posted @ 2014-07-15 14:41 mabel_on_line 阅读(183) 评论(0) 推荐(0) 编辑
摘要: mouseover 有一个多次触发的问题 需要注意由于浏览器的冒泡行为。造成如果在一个DIV元素上同时定义了mouseover,mouseout的时候,当鼠标移动到DIV中的child子元素的时候,就会同时执行了两个操作mouseover和mouseout。http://blog.csdn.net/... 阅读全文
posted @ 2014-07-15 11:14 mabel_on_line 阅读(455) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页