我正在创建一个内部带有 iframe 的对话框,问题是边框在 IE8 中一直显示,这在任何其他浏览器中都可以正常工作。
这个是我试过的,border:none我也试过
$(d.dialog).find('#MyCoolDialogInner').html('<iframe src="/apex/EscalationForm?id={!Case.Id}" height="495" width="380" marginheight="0" marginwidth="0" frameborder="0"/>');
提前致谢
最佳答案
添加 frameBorder 属性(注意大写的“B”)。
所以它看起来像:
<iframe frameBorder="0">Browser not compatible.</iframe>
关于javascript - 如何摆脱 IE8 中 Iframe 的边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12414525/