Is there a way to let a frame height be defined by it's content?
I tried height="100%" but that doesn't seem to work.
Thank you,
John
Is there a way to let a frame height be defined by it's content?
I tried height="100%" but that doesn't seem to work.
Thank you,
John
Hi John
The point of a frame is that it's supposed to scroll... if you don't want it to scroll then you're not looking for a frame...
Can you give us more info on what you want?
Regards
Dave
Thanks for the reply.
Can you give us more info on what you want?
Sure.
On this page(http://www.jstechs.com/tip_of_the_week.html) the main text is fed from a php script here(http://www.jstechs.com/scripts/1.php) which picks-up the latest post from a forum board here(http://www.jstechs.com/forum/index.php/board,6.0.html).
What I was hoping to do is have some system so that I would not have adjust the height of the frame each week when I post a new tip.
I attached a copy of the original php file if you need to see it.
Thanks,
John
<?php
require("/home/johnp/public_html/forum/SSI.php");
$array = ssi_boardNews(6.0, 1, null, null, 'array');
foreach ($array as $news)
{
echo '
<table border="0" width="100%" align="center" class="ssi_table">
<tr>
<td><span style="font-family: Trebuchet MS, Tahoma, Arial; font-weight: bold; font-size: 14pt;">', $news['subject'], '</span></td>
</tr>
<tr>
<td><span style="font-family: Trebuchet MS, Tahoma; font-size: 10pt;">', $news['body'], '</span><br /><br /></td>
</tr>
</table>
<br />';
if (!$news['is_last'])
echo '
<hr width="100%" />
<br />';
}
?>
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.