Dårlig i Internet explorer
Hej eksperter...er der nogen kan forklare mig hvorfor denne side http://www.vodskov.org/index1.php bliver helt ødelagt i IE. og ikke i mozilla ?? Hva i denne kode kan jeg ændre ??
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>VODSKOV[dot]ORG BETA - Drengerøvslir for drengerøve !!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="footbox.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style3 {font-size: 10pt}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #800000;
}
a:active {
text-decoration: none;
color: #333333;
}
.style4 {font-size: 12px}
.style8 {
font-size: 14px;
font-weight: bold;
}
.style9 {color: #333333}
.style10 {font-size: 14px}
.style11 {color: #000000}
-->
</style>
</head>
<body>
<script language="javascript" type="text/javascript">
function ifrHeight(){
var t=document.body.scrollHeight;
if(parent!=window)parent.document.getElementById('body').style.height=t+4+'px';
}
window.onload=ifrHeight;
</script>
<div align="center">
<table width="1038" border="0" cellpadding="0" cellspacing="0" height="100%">
<!--DWLayoutTable-->
<tr>
<td width="22" height="17"></td>
<td width="32"></td>
<td width="118"></td>
<td width="25"></td>
<td width="550"></td>
<td width="25"></td>
<td width="124"></td>
<td width="26"></td>
<td width="116"></td>
</tr>
<tr>
<td height="123"></td>
<td></td>
<td colspan="5" align="center" valign="top"><div align="center"><img src="banner.jpg" width="840" height="121" border="1"></div></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="25"></td>
<td></td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="36"></td>
<td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center">Menu</div></td>
<td> </td>
<td valign="top" bgcolor="#CCCCCC" class="ass" background="topass.jpg"><div align="center">vodskov.org</div></td>
<td> </td>
<td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center" class="style3"> <strong>Seneste forum tråde</strong></div></td>
<td> </td>
</tr>
<tr>
<td height="204"></td>
<td colspan="2" align="left" valign="top" bgcolor="#FFFFFF" background="menu.jpg" class="footbox"><div align="left" class="style8"><span class="style9"> <span class="style10"><img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <strong><a href="news/index.php" target="body">Forside</a></strong></span><br>
<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <a href="http://forum.vodskov.org" target="body">Forum</a><br>
<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <a href="galleri.htm" target="body">Galleri</a><br>
<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <span class="style11"><a href="links.php" target="body">Links</a> </span> </span></div></td>
<td></td>
<td rowspan="5" valign="top" class="footbox"><iframe name="body" width="672" height="100%" align="left" marginwidth="0" marginheight="0" frameborder="0" src="news/index.php"></iframe>
<td></td>
<td colspan="2" align="right" valign="top" class="footbox"><div align="left">
<?php include('forbindelse.php'); ?>
<?php
$sql = "
SELECT topic_id, topic_title, FROM_UNIXTIME(topic_time, '') as topic_add_time
FROM phpbb_topics
ORDER BY topic_time DESC
LIMIT 10";
$result = mysql_query($sql) or die( mysql_error() );
echo '<span class="bold_boldheader">10 seneste Indæg:</span>';
echo '<span class="bold_linebreak_top"><br><br></span>';
while ( $data = mysql_fetch_assoc($result) ) {
echo "<span class=\"bold_time\">{$data['topic_add_time']} </span><a href=\"http://forum.vodskov.org/viewtopic.php?t={$data['topic_id']}\" target=\"body\" class=\"bold_headline\">{$data['topic_title']}</a><br>";
}
?>
</div></td>
<td> </td>
</tr>
<tr>
<td height="32"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="36"></td>
<td colspan="2" valign="top" bgcolor="#CCCCCC" background="ass.jpg" class="ass"><div align="center">Top 10: Øl</div></td>
<td></td>
<td></td>
<td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center">Afstemning</div></td>
<td></td>
</tr>
<tr>
<td height="204"></td>
<td colspan="2" align="left" valign="top" background="carlsberg1.jpg" class="footbox"><a href="http://forum.vodskov.org" target="body" class="style4"> </a></td>
<td></td>
<td> </td>
<td colspan="2" align="right" valign="top" class="footbox"><div align="left">
<?php
if ($stem != "" && $har_stemt != "") {
setcookie ("har_stemt", "1",time()+1209600);
}
?>
<?php
include('conf.inc');
include('mysql.inc');
if ($har_stemt == "1") {
$stem = "ja";
$do_stem = "ja";
}
echo "<h2>$spm</h2>";
if ($har_stemt == "") {
if ($stem == "" || $do_stem == "") {
if ($stem == "" && $do_stem != "") {
echo "Du glemte at stemme!";
}
if ($stem != "" && $do_stem == "") {
echo "Du kom ikke relementeret prøv igen!";
}
echo " <form method='post' action'$PHP_SELF'>\n";
echo " <input type='radio' name='stem' value='1'>\n";
echo " $info1<br>\n";
echo " <input type='radio' name='stem' value='2'>\n";
echo " $info2<br>\n";
echo " <input type='radio' name='stem' value='3'>\n";
echo " $info3<br>\n";
echo " <input type='radio' name='stem' value='4'>\n";
echo " $info4<br>\n";
echo " <input type='hidden' name='har_stemt' value='2'>\n";
echo " <input type='submit' name='do_stem' value='Stem'>\n";
echo " </form>\n";
}
}
if ($har_stemt == "1" && $stem == "ja") {
echo "Du har allerede stemt!";
} else if ($stem) {
$stemme = "stem$stem";
$result = mysql_query("select * from $table");
$row = mysql_fetch_array ($result);
$r = $row[$stemme];
$stem_in = $r + "1";
mysql_query("UPDATE $table SET $stemme = $stem_in WHERE ID = '1'");
echo "Du har nu stemt!";
}
if ($har_stemt != "") {
$result = mysql_query("select * from $table");
$row = mysql_fetch_array ($result);
$r1 = $row['stem1'];
$r2 = $row['stem2'];
$r3 = $row['stem3'];
$r4 = $row['stem4'];
$rialt = $r1 + $r2 + $r3 + $r4;
$r1p = $r1 / $rialt * "100";
$r2p = $r2 / $rialt * "100";
$r3p = $r3 / $rialt * "100";
$r4p = $r4 / $rialt * "100";
$r1p = round($r1p);
$r2p = round($r2p);
$r3p = round($r3p);
$r4p = round($r4p);
echo "<p>";
echo "<table width='$table_width'><tr><td>";
echo "<b>$info1</b>";
echo "</td><td></td></tr><tr><td>";
echo "$r1p %";
echo "</td><td>";
echo "<img src='bar.gif' width='$r1p' height='10'>";
echo "</td></tr><tr><td>";
echo "<b>$info2</b>";
echo "</td><td></td></tr><tr><td>";
echo "$r2p %";
echo "</td><td>";
echo "<img src='bar.gif' width='$r2p' height='10'>";
echo "</td></tr><tr><td>";
echo "<b>$info3</b>";
echo "</td><td></td></tr><tr><td>";
echo "$r3p %";
echo "</td><td>";
echo "<img src='bar.gif' width='$r3p' height='10'>";
echo "</td></tr><tr><td>";
echo "<b>$info4</b>";
echo "</td><td></td></tr><tr><td>";
echo "$r4p %";
echo "</td><td>";
echo "<img src='bar.gif' width='$r4p' height='10'>";
echo "</td></tr></table>";
echo "Der er afgivet ialt $rialt stemmer.";
}
echo "<p> © <a href='mailto:rene@vodskov.org'>Vodskov.org</a> 2005.";
?>
</div></td>
<td> </td>
</tr>
<tr>
<td height="106"></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
</body>
</html>