图像是溢出他们的容器在IE8与Fancybox [英] Images are overflowing their container in IE8 with Fancybox

查看:142
本文介绍了图像是溢出他们的容器在IE8与Fancybox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此问题的后续跟进中,我在IE8中有另一个问题。

In a sort of follow up to this question, I have another problem in IE8.

当点击图库和灯箱出现,图像溢出他们包含的元素(由东西的外观)。

When clicking the gallery and the lightbox appears, the images are overflowing their containing element (by the looks of things).

IE8 http://alexanderdickson.com /hosted/stackoverflow.com/ie8-fancybox.png

有没有人经历过这个?当然,好人(火狐/ Safari /等)显示它完美。

Has anyone ever experienced this before? Of course, the good guys (Firefox/Safari/etc) display it perfectly.

如何解决这个问题?

感谢

UPDATE

推荐答案

我最后使用 prettyPhoto 。它不仅工作,但它提供了一个更好的API。我可以跳过所有我隐藏的链接构建和触发,我传递的文件路径数组直接,它工作伟大的跨浏览器。

I ended up using prettyPhoto. Not only does it work, but it provides a much better API. I could skip all my hidden link building and triggering, I passed the array of filepaths straight in and it worked great cross browser.

这篇关于图像是溢出他们的容器在IE8与Fancybox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆