I want to insert another web page inside a SP2010 page. With "Page Viewer Webpart", it only takes a small portion of the vertical space available on my SP page.
I had the same problem in SP2007, and solved it with:
<style type="text/css">
.Myframe
{width:100%; height:expression(document.body.clientHeight-100);}
</style>
<iframe id="I1" name="I1" class="Myframe" width="100%" frameborder="0" >
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<script type="text/jscript" language="javascript">
I1.location.href= 'http://mywebsite/page.aspx';
</script>
Now, in SP2010, I can't reproduce the same behavior.
Any solutions for this simple requirement?