how do I remove the edges of the iframe on a web page?


I have this line of code, and on the main page, the borders of the iframe do not appear but when I give the link to call another page, there if the lines appear. I would like to know how to remove them. Thanks

<iframe name='nombre' width="1000" height="500" frameborder="0" scrolling="no"></iframe>
asked by Trujillo Silva Lila Yiseth 20.06.2016 в 23:39

3 answers


your code is correct, only the word frameBorder carries a capital B .. That code works for HTML 4, if you're writing code for HTML 5, better use seamless='seamless' since it no longer supports frameBorder

answered by 21.06.2016 в 06:46

You can use css for that, like this:

answered by 21.06.2016 в 07:05

When I do an iframe of a full screen web I do it that way. Let's see if it helps you.

<iframe src="" style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">

Currently I am using it on a website and it works very well for me.

answered by 21.06.2016 в 07:12