ie6、ie7下overflow失效

如果父对象有overflow:hidden属性,子对象中的position属性是relative或者absolute,那么在ie6和ie7下父对象的overflow会失效,解决办法是给父对象加relative属性。

有的时候,你找了一个js图片横向滑动的东东,如果你改了改,一不小心在ie7或者ie6下面不能用了,一般就是这个问题。

3 thoughts on “ie6、ie7下overflow失效

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">