I have a problem with iframe height. Below is the piece of code with iframe height 100%
<iframe id="iframeid" src="#" width="100%" height="100%" id="iframeid">
</iframe>
But, iframe not fit with the entire screen height. I am getting 1/4 th screen
So, I used Jquery here to identify the screen height and set it to iframe height.
$(document).ready(function() {
var iframeWin = screen.height;
$('#iframeid').height(iframeWin);
});
Now the height got expanded to some extend (screen height), but the problem is I am getting more height. I am seeing some scrolling too..
Is there any correct way to fit the iframe on entire screen?
Here is my JSFIDDLE