Jump to content

iFrame not expanding.


the_oliver

Recommended Posts

Hello.

 

Im having some trouble making an iFrame expand to 100%.  The code im using is the following:

 

          <td width="1" valign="top"><img src="images/vertical_devide.jpg" width="2" height="250" /></td>
          <td width="600" align="left" valign="top">

<!--- DATA FRAME --->

<iframe id="DETAILFrame"
  name="DETAILFrame"
  style="width:600px; height:100%; border: 0px"
  src="dhost.php?id=0"></iframe>

<!-- END --->
      
            
</td>

 

However i still get a scroll bar on the side.  (after about 600px i guess).  The strange thing is that if i change

<img src="images/vertical_devide.jpg" width="2" height="250" />

to

<img src="images/vertical_devide.jpg" width="2" height="900" />

  the iframe will expand to fill its contents (which is never more then about 850px.  Not quite shore where im wrong!  Thanks!

Link to comment
https://forums.phpfreaks.com/topic/64415-iframe-not-expanding/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.