在 IE9 中使用 SimpleModal 的疯狂宽度
有没有其他人尝试过在 IE9 中使用 SimpleModal ?如果是这样,您是否遇到过模态宽度严重错误的情况?
我查看了 SimpleModal 的主页,模态框也遍布整个宽度方向。
有人能解决这个问题吗?
Has anyone else tried using SimpleModal in IE9? If so, have you experienced that the width of the modal is wildly wrong?
I checked on the homepage for SimpleModal, and the modals are all over the place width-wise there as well.
Does anyone have a fix for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚发布了 SimpleModal 1.4.1 - 看看是否可以解决您的问题。
http://code.google.com/p/simplemodal/downloads/list
I just released SimpleModal 1.4.1 - see if that resolves your issues.
http://code.google.com/p/simplemodal/downloads/list
我想出的最好的办法是用另一个指定宽度的 div 包围您正在创建的 SimpleModal div。
本质上,div 似乎总是 100% 位于它们所在的容器中,因此使用其他 div 来包含它们的大小,并保持它们对齐。
The best thing I have managed to come up with is to surround the SimpleModal divs that you are creating with another div that specifies the width.
Essentially it seems that the divs will always go to 100% of the container they are in, so use other divs to contain their size, and keep them in alignment.