why is my IFRAME going like this???
Posted: Tue Jan 06, 2004 2:49 pm
look at the following site im making: http://www.28gauntroad.com
It shows up fine in mozilla, but in IE not only does the scroll bar not get coloured correctly, but it has a bottom scroll bar!
i cannot see how it is getting there...
heres the source for you:
Index.php
News.php:
Edit: removed some of the non relevent code
Hope someone can help me:)
many thanks
Tom
It shows up fine in mozilla, but in IE not only does the scroll bar not get coloured correctly, but it has a bottom scroll bar!
i cannot see how it is getting there...
heres the source for you:
Index.php
Code: Select all
<TD WIDTH=550 HEIGHT=490 align="center" valign="center" bgcolor="#000000">
<table width="540" height="480" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<iframe src="inc/news.php" name="mainpg" width="540" marginwidth="0" height="480" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>
</TD>Code: Select all
<?php
include("../inc/functions.php");
$db = new DbClass();
$db->connectdb();
$sql = "select * from news order by ID DESC";
$r = $db->exe($sql);
while ($news = mysql_fetch_array($r)) {
?>
<table width="480" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bordercolor="#ECE9D8" class="titlebox"><?php echo $news['subject']; ?></td>
</tr>
<tr>
<td class="info">- <?php echo date("F j, Y, g:i a",$news['date']); ?> by <?php echo $news['by']; ?> </td>
</tr>
<tr>
<td><?php echo nl2br($news['body']); ?>
</td>
</tr>
</table>
<br>
<?php
}
?>Hope someone can help me:)
many thanks
Tom