jQuery 效果 IE7 浮动问题
我有一个容器 div,里面有几个左右浮动的 div。当我在 IE7 中将效果应用于容器(例如 fadeOut() 或 slipUp())时,该效果仅应用于容器以及其中未浮动的任何内容。当效果完成时,浮动元素就会消失,它们不会产生实际效果。有人知道这个问题的解决方法吗?
i have a container div with a couple of divs in it that are floated left and right. When i apply an effect to the container such as fadeOut() or slideUp() in IE7 the effect only gets applied to the container and anuything in it that isnt floated. The floated elements just disappear when the effect has finished they don't do the actual effect. Anyone know of a fix for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
修好了!这并不是因为它们被浮动,而是因为它们相对定位。所以我只是取消了相对位置并使用不同的样式来使它们看起来像我想要的那样,现在效果很好
Fixed it! It wasnt because of they were floated it because they positioned relative. So i just took the position relative off and used different styling to make them look how I wanted and it works fine now