Iframe Varible Height

They have: 17 posts

Joined: Aug 2003

I have a site that I am trying to set up, I plan to use a central Iframe for the content that will chage, the problem is that I cant make the iframe force itself to change the height of the tr and fit itself according to how far down the content goes.

I am terribly sorry that I can not give you a live example, I understand what a pain it makes this, but please throw it in DW and give it a shot.

<html>
<head>
<title>Louisiana State FBLA</title>

</head>
<body bgcolor="#152764">
<table width="750" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td width="750" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="95" valign="top" bgcolor="#FFFFFF"><img src="images/fblaTOP.jpg" width="750" height="95">
  <TABLE WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="images/Banner_01.jpg" WIDTH=22 HEIGHT=20 ALT=""></TD>
        <TD> <a href="/news.htm" target="main"><IMG SRC="images/Banner_02.jpg" ALT="" WIDTH=88 HEIGHT=20 border="0"></a></TD>
<TD>
<IMG SRC="images/Banner_03.jpg" WIDTH=13 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_04.jpg" WIDTH=130 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_05.jpg" WIDTH=14 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_06.jpg" WIDTH=4 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_07.jpg" WIDTH=42 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_08.jpg" WIDTH=17 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_09.jpg" WIDTH=133 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_10.jpg" WIDTH=17 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_11.jpg" WIDTH=39 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_12.jpg" WIDTH=17 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_13.jpg" WIDTH=109 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_14.jpg" WIDTH=14 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_15.jpg" WIDTH=73 HEIGHT=20 ALT=""></TD>
<TD>
<IMG SRC="images/Banner_16.jpg" WIDTH=18 HEIGHT=20 ALT=""></TD>
</TR>
</TABLE></td>
        </tr>
        <tr>
          <td><img src="images/spacer.jpg" width="1" height="1"></td>
        </tr>
        <tr>
          <td valign="top"><iframe width="750"  height="300" name="main" frameborder="0" marginheight="0" marginwidth="0" scrolling="auto" src="main.htm"></iframe></td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><img src="images/spacer.jpg" width="1" height="1"></td>
        </tr>
        <tr>
          <td height="30" bgcolor="#999999"><div align="right">
              <table width="100%" border="0" cellpadding="0" cellspacing="10" bgcolor="#666666">
                <tr>
                  <td height="4"><div align="right">
                      <p align="left"><font size="1" face="tahoma"><font color="#FFFFFF"><strong><font size="2" face="Arial">Best
                        Viewed:</font></strong><font size="2" face="Arial"> 1024x768
                        | 32-bit Color | I-Frames | IE 4+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></font><font color="#FFFFFF" size="2" face="Arial">Copyright
                        &copy; 2004 Louisiana State FBLA<br>
                        <strong> Design:</strong> <a href="mailto:#">Joseph
                        Curry</a>, District VI Vice-President</font><font size="2" face="Arial"><font color="#FFFFFF">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp; </font></font><font color="#FFFFFF" size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp; <strong>Maintained: </strong><a href="mailto:#">Lisa
                        Deen</a>, LA FBLA Administrative Assistant </font></p>
                    </div></td>
                </tr>
              </table>
            </div></td>
        </tr>
      </table>
</td>
</tr>
</table>
</body>
</html>
'