我正在创建一个内部带有iframe的对话框,问题是边框一直显示在IE8中,这在任何其他浏览器中都可以很好地工作。
这就是我已经尝试过的,我也尝试过边界:无
$(d.dialog).find('#MyCoolDialogInner').html('<iframe src="/apex/EscalationForm?id={!Case.Id}" height="495" width="380" marginheight="0" marginwidth="0" frameborder="0"/>');
提前感谢
发布于 2012-09-14 04:50:20
添加frameBorder属性(注意大写的‘B’)。
所以它看起来像这样:
<iframe frameBorder="0">Browser not compatible.</iframe>
发布于 2012-09-14 04:48:34
你试过通过CSS设置它吗?
iframe {
border:0px none transparent !important;
}
此外,这些似乎也是有效的- marginheight="0" marginwidth="0" frameborder="0"
。摘自this post on the same IE issue。
发布于 2012-09-14 04:48:43
试试这个:
<iframe frameborder="no" />
https://stackoverflow.com/questions/12414525
复制相似问题