iFrame resizing

windows

Guest
okay I'm running a site with an iframe in the middle of it<br />
(the little white line in the body of the site)<br />
<br />
<!-- m --><a class="postlink" href="http://www.runtingsrecords.com/mobb/">http://www.runtingsrecords.com/mobb/</a><!-- m --> is the site<br />
<br />
<iframe name=ALI marginheight=0 src=http://www.htmlforums.com/archive/index.php/"poo.html" frameborder=0 width=100% border=0 height=100%><br />
<br />
</iframe><br />
<br />
<br />
I need it so the height will always be 100% the height of the table that it is in because of different resolutions people have. <br />
<br />
I remember I did this a long time ago it has something to do with setting the bottom=50% or top=50% or something I can't remember. Can someone please help me?<!--content-->Hi there phenom,<br />
<br />
I hope that I have read your question correctly :) <br />
The iframe will always fill the table like this...<br />
<table width="100%"height="100%"><tr><br />
<td><iframe name="ALI"marginheight="0"src=http://www.htmlforums.com/archive/index.php/"poo.html"frameborder="0"width="100%"height="100%"border="0" ></iframe></td><br />
</tr></table><br />
c:cool::cool:thead<!--content-->no that won't work because my iframe is actually in a row with very a specific height and width. Also my template is very decilate how it is setup adding/modifying a table screws it all up.<br />
<br />
Are there any more ways to making the iframe fit the row?<!--content-->Have you tried:<br />
<br />
<tr><br />
<td width="#" height="#"><iframe name="ALI" marginheight="0" src=http://www.htmlforums.com/archive/index.php/"poo.html" frameborder="0" width="100%" height="100%" border="0" ></iframe></td><br />
</tr><br />
<br />
With "#" being whatever you specify as height and width for that particular cell. <br />
Among other things, you have to put the attribute values inside quotation marks.<br />
<br />
Another option might be to add the interior table to the content of the iframe, rather than the iframe itself. <br />
<br />
<table width="100%" height="100%"><br />
<tr><br />
<td>Content</td><br />
</tr><br />
</table><br />
<br />
Peg<!--content-->eh?<br />
<br />
giving the iframea %100 value will make it the size of it's container (the table cell in this case)<br />
your coding is wrong, you cannot place data inside a <tr> it has to be inside a <td><br />
<br />
your code should be like this<br />
<br />
<tr><td><iframe name=ALI marginheight=0 src=http://www.htmlforums.com/archive/index.php/"poo.html" frameborder=0 style="width:100%;height:100%;"></iframe></td></tr><br />
<br />
there are many attributes you have used which are deprecated, you page is very delicate because of the coding.<br />
<br />
visit <!-- m --><a class="postlink" href="http://www.w3schools.com">http://www.w3schools.com</a><!-- m --> for tutorials<br />
and <!-- m --><a class="postlink" href="http://validator.w3.org">http://validator.w3.org</a><!-- m --> for helping correct the coding errors.<br />
<br />
/beat me to it Peg ;)<!--content-->and the winner is!!!!!!!!!!!!! (drum role)<br />
<br />
PEGASUS!!!!!!<br />
<br />
<tr><br />
<td height="100%"><br />
<iframe name=ALI marginheight=0 src=http://www.htmlforums.com/archive/index.php/"poo.html" frameborder=0 style="width:100%;height:100%;"><br />
</iframe><br />
</td><br />
</tr<br />
<br />
<br />
that is what I needed to do.. set the row too 100% ..<br />
duhhh... im so stupid somethings<br />
<br />
thanks for helping everyone!<br />
this place is great you'll be seeing alot of me:D<!--content-->*lol* You're welcome any time, Phenom. <br />
<br />
It's not often I'm right and even less often when I beat Leo to a response. ;)<br />
<br />
Peg<!--content-->
 
Back
Top