因此,当我在此外部源iframe上未添加任何frameborder 0时,它只能在Chrome上正确捕捉。 Edge,FF和IE看起来像废话。我也不能影响CSS。知道我在这里可以做什么吗?
这是iFrame
<iframe name="iframe" id="iframe" src="https://www.disprism.com/webar/login/" style="overflow:hidden;" allowTransparency="true" frameborder="0" scrolling="no" height="300"></iframe>
答案 0 :(得分:0)
我不确定您想要的是什么,您能更精确吗?您的问题是IE上的灰色方块对吧?
如果我的假设是正确的,则应改用“ css borders”。 HTML5不支持Frameborder。
也许尝试像这样的https://codepen.io/Tryanium/pen/VRQjWK
#iframe{border: 0px;}
来源:https://www.w3schools.com/tags/att_iframe_frameborder.asp
编辑:
如您所见,我没有任何灰色块,您可以向我们展示其余的CSS吗?