Table with iframe

liunx

Guest
Greetings Everyone,<br />
I'm attempting to create a table with 4 rows. I have made the 3rd row an iframe.<br />
<br />
If I specify the height and width it works just fine.<br />
<br />
What I want to do is have the 3rd row auto adjust the height based on the html it loads.<br />
<br />
In other words I don't want the frame to scroll but browser to scroll.<br />
<br />
I have tried to change the specified Height and width to a percentage but it shrinks the row to the point where it can't be seen. <br />
<br />
Below is the code I'm using.<br />
<br />
Thanks in advance for your help.<br />
<br />
<br />
------Cut Here-------<br />
<br />
<td height="100%" colspan="7"><iframe align="center" name="inline" width="100%" height="100%" src=http://www.webdeveloper.com/forum/archive/index.php/"main.html" frameborder="0"></iframe></td><br />
<br />
-----Cut Here-----<!--content-->run while you still can!<br />
<br />
the 100% thing for frames seems to be buggy so if you must use frames, use a fixed height. If you need to kill a scroll bar add<br />
<style><br />
body{overflow:hidden;}<br />
</style><br />
to the frame code.<!--content-->Thanks for info. Is there a better/easier way for me to accomplish what I want to do?<!--content-->if you just want something with a scroll bar then use:<br />
<div style="overflow:auto;"><br />
blah<br />
</div><br />
<br />
you can resize that more easily to with width and height<!--content-->Thanks for the help. I'll give that a try!<!--content-->
 
Back
Top