css hack

IE6/IE7下父元素有相对/绝对定位时,子元素在IE6和IE7下overflow:hidden;失效

子元素有相对/绝对定位时,父元素overflow:hidden;失效

解决方法: 在要overflow:hidden;的元素上添加 position:relative

参考:http://www.jb51.net/css/97756.html

posted @ 2016-05-19 18:01  Teaism  阅读(132)  评论(0编辑  收藏  举报