I\'ve seen this problem on the web, and all the suggested solutions aren\'t working for me, so I thought I\'d come here.
I have a page that has an iframe. The top of the
The requirements are clear:
My solution is very simple:
overflow:hidden;
.height: calc ( 100% - 120px );
. The wrapper around the iframe can be a div or a table with a width 100% and a height 100%.Here is my example with the iframe height set to 80% (of the window):
body {
overflow: hidden;
}
#hold_my_iframe {
padding:0px; margin:0 auto; width: 100%; height: 100%; overflow:scroll;
}