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
Jump to Post— DaveSW 15Hi 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
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() the main text is fed from a php script here() which picks-up the latest post from a forum board here().
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.