I want to remove padding (few pixel) of iframe. when we use iframe in any page and make its height & width 100% but it left few pixels from all side left, right, up & down.how to remove it. Please look at this URL. http://mindmaker.org.in/frame.php i have remove scroll bar from this page but few pixels are not remove from all side
我想删除iframe的填充(几个像素)。当我们在任何页面中使用iframe时,将其高度和宽度设置为100%,但它会从左、右、上、下各部分留下一些像素。如何删除它。请查看这个URL。我已经从这一页删除了滚动条,但是没有几个像素没有从所有的边移除。
2 个解决方案
#1
5
You have to reset default <body>
padding / margin.
您必须重置默认的填充/空白。
body {
margin: 0;
padding: 0;
}
Hope this helps
希望这有助于
#2
1
add frameBorder="0" (capital "B")
添加帧边缘= " 0 "(资本“B”)
<iframe src="http://pragswebsolution.in/onlinetest/orgnisation.php" height="100%" width="100%" frameBorder="0" style="overflow-y: hidden;"></iframe>
#1
5
You have to reset default <body>
padding / margin.
您必须重置默认的填充/空白。
body {
margin: 0;
padding: 0;
}
Hope this helps
希望这有助于
#2
1
add frameBorder="0" (capital "B")
添加帧边缘= " 0 "(资本“B”)
<iframe src="http://pragswebsolution.in/onlinetest/orgnisation.php" height="100%" width="100%" frameBorder="0" style="overflow-y: hidden;"></iframe>