【问题标题】:How to work around IE6/IE7 margins disappearing when relatively-positioned floated div is moved with jquery .hover()?当使用 jquery .hover() 移动相对定位的浮动 div 时,如何解决 IE6/IE7 边距消失的问题?
【发布时间】:2014-01-14 15:33:34
【问题描述】:

这是我的代码:

http://jsbin.com/uhera3/edit

当我使用 jQuery 到 .hover() 时,相对定位的浮动 div 在 IE7 中跳到左侧(似乎失去了边距)。

任何想法如何解决这个问题?

【问题讨论】:

    标签: jquery html css internet-explorer-7 internet-explorer-6


    【解决方案1】:

    我建议实现 IE conditional tags 并制作一个 ie-fix.css 文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-26
      相关资源
      最近更新 更多