PDA

View Full Version : help with iframes and tables


help is needed
06-27-2006, 02:08 AM
i need help getting me cell height to match the iframe's loaded document

my code:

<table width="95%" border="0"align="center" cellpadding="1" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td width="15%" rowspan="2" valign="top">Table of Contents
<p></p>
<p><a href="http://www.phpbb.com/" target="_blank"><img src="Images/phpBB_88a.gif" width="88" height="31" alt="Powered by phpBB2" title="Powered by phpBB2" border="0" /></a>
</td>
<td width="74%" valign="top"><iframe name="_body" frameborder="0" scrolling="yes" width="100%" height="100%" src="body.php"></iframe></td>
</tr>
<tr>
<td><div align="center"><a href="about.php" target="_body">About <em>LeagueOfAngels.com</em></a> | <a href="TermsOfUse.php" target="_body">Terms of Use</a> | <a href="PrivacyPolicy.php" target="_body">Privacy Policy</a> | <a href="ContactUs.php" target="_body">Contact Us</a> | <a href="Help.php" target="_body">Help</a><br>
Copyright &copy; 2006 <em>LeagueofAngels.com</em>. All rights reserved.</div></td>
</tr>
</table>

i need help getting my cell with the iframe to be as high as the text it loads.
it automatically loads body.php and links on my page (Terms of Use, Privacy Policy, Contact Us, etc) load in that iframe with target="_body"

any help is appreciated

_Aerospace_Eng_
06-27-2006, 02:30 AM
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm