令人蛋疼的IE,IE6/IE7下父元素有相对/绝对定位时,子元素在IE6和IE7下overflow:hidden;失效。 情况一:(在parent上增加position:relative)
复制代码代码如下: <style type=”text/css”> .parent{ width:100px; height:100px;border:1px solid #f00; overflow:hidden; position:relative;} .sonF{ position:relative;} .son{ width:100px; height:100px; position:absolu