当我使用以下代码创建iframe时:
<iframe src="mypage.html" style="border: 0; width: 100%; height: 100%">Your browser doesn't support iFrames.</iframe>
iframe不能完全解决问题-iframe周围有10像素的白色“边框”。我该如何解决?
The body has a default margin in most browsers. Try:
body
body { margin: 0; }
in the page with the iframe.
iframe