简体   繁体   中英

How to work around IE6/IE7 margins disappearing when relatively-positioned floated div is moved with jquery .hover()?

Here is my code:

http://jsbin.com/uhera3/edit

When I use jQuery to .hover(), the relatively positioned floated divs jump to the left (seemingly losing their margins) in IE7.

Any ideas how to fix this?

我建议实现IE条件标签并制作一个ie-fix.css文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM