Table with iframe
Greetings Everyone,
I'm attempting to create a table with 4 rows. I have made the 3rd row an iframe.
If I specify the height and width it works just fine.
What I want to do is have the 3rd row auto adjust the height based on the html it loads.
In other words I don't want the frame to scroll but browser to scroll.
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.
Below is the code I'm using.
Thanks in advance for your help.
------Cut Here-------
<td height="100%" colspan="7"><iframe align="center" name="inline" width="100%" height="100%" src="main.html" frameborder="0"></iframe></td>
-----Cut Here-----
run while you still can!
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
<style>
body{overflow:hidden;}
</style>
to the frame code.
- God
Thanks for info. Is there a better/easier way for me to accomplish what I want to do?
if you just want something with a scroll bar then use:
<div style="overflow:auto;">
blah
</div>
you can resize that more easily to with width and height
- God
Thanks for the help. I'll give that a try!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks