如何从嵌入在我的网络应用程序中的 iframe 中删除边框? iframe 的一个例子是:
<iframe src="myURL" width="300" height="300">Browser not compatible.</iframe>
假设背景颜色一致,我希望从我的页面内容到 iframe 内容的过渡是无缝的。目标浏览器仅为 IE6,不幸的是,其他人的解决方案无济于事。
最佳答案
添加 frameBorder
属性(注意大写“B”)。
所以它看起来像:
<iframe src="myURL" width="300" height="300" frameBorder="0">Browser not compatible.</iframe>
https://stackoverflow.com/questions/65034/