对于这一行代码:
<iframe width="600" height="400" frameBorder="0" src="http://stackoverflow.com"></iframe>
我得到了这个错误:(valdator.w3.org:XHTML1.0过渡性)
there is no attribute "frameBorder"
我使用frameBorder是因为IE8在iframes上创建了某种边框。在最新的Chrome/Firefox上,一切都很好。
是否有其他有效的方
Hi,我正在处理Iframe,然后我遇到了一个问题。我想访问Iframe's元素,但我不能。我使用iframe.contentWindow.document.getElementsByClassName("element")来访问。这里是我的代码<code>H 210</code><code>H 111<//code>上10.html文件<code>H 213</code><code>f</code>
On iframe.html文件
On 10.js文件
(函数() { i
我正在尝试在我的网站中使用iframe标签,如下所示:
<iframe height="100%" width="100%" src="http://www.example.com/">
<p>Your browser does not support the iframe element</p>
</iframe>
不幸的是,这只显示了一个框或边框。我希望它能在我的网站内显示"example.com“。
提前谢谢。