本文介绍了ie中的colorbox css问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在IE初始化彩盒时只有一个奇怪的问题....
有人能提示如何修复它吗?
i have a strange problem only in IE when i initialize the colorbox ....can anyone hintout how to fix it?
在mozilla和chrome all is ok
in mozilla and chrome all is ok
看它只是在任何国家/地区搜索代理商并从3个演示值中选择任何选项
to see it just search for an agent in any country and select any option from 3 demo values
推荐答案
由于某些原因,你的宽度在IE中显示不同,导致它们被切断。
Your widths are showing up different in IE for some reason, which is causing them to be cut off.
To修复此问题,您需要在colorbox div上允许溢出内容。你可以用CSS或JQuery来做。
To fix this, you need to allow overflowing content on your colorbox div. You can either do it in CSS or JQuery.
#colorbox {
overflow: visible;
}
JQuery
JQuery
$("#colorbox").css('overflow', 'visible');
享受!
Enjoy!
这篇关于ie中的colorbox css问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!