Hallo,
ich habe ein Problem mit den Tabellen auf meiner Homepage.
Im Firefox wird das genauso angezeigt wie ich es gerne hätte, nur im IE zickt das rum. Ich habe auch schon alles mögliche versucht, dass ich die Abstände wegkrieg, allerdings ohne Erfolg.
Firefox: http://img187.imageshack.us/img187/4364/firefoxec0.jpg
Internet Explorer: http://img301.imageshack.us/img301/5215/iefm1.jpg
Ich hoffe, es kann mir jemand bei dem Problem helfen.
css-Datei:
#oben {
text-align: center;
}
#links {
width: 150px;
float: left;
}
#rechts {
width: 150px;
float:right;
}
#unten {
text-align:center;
font-size: 10px;
padding: 5px;
}
body {
background-color: #001c59;
font-size: 11px;
}
td a {
text-decoration:none;
color: black;
font-weight: bold;
text-align:center;
}
.td1 {
margin:5px;
padding:5px;
}
.tdmenu {
width: 120px;
}
.table-calu{
width:500px;
background-color:#99CCFF;
}
.tdcalu-head{
background-color:#66B3FF;
text-align:center;
height:25px;
}
.tdfoot-calu{
background-color:#66B3FF;
text-align:right;
}
.tdimage{
width:100;
padding:5px;
}
.tdabstand{
width:200px;
}
.table-renai{
width:500px;
background-color:#BAEA9F;
}
.tdrenai-head{
background-color:#A5E481;
text-align:center;
height:25px;
}
.tdrenai-foot{
background-color:#A5E481;
text-align:right;
}
h1 {
text-align:center;
}
a {
color: black;
font-weight: bold;
}
#menu {
padding: 5px;
}
index:
<?php
include "inc/config.php";
echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n";
echo " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n";
echo "<html>";
echo " <head>";
echo " <title>CaluRO & RenaiRO</title>";
echo " <link rel="stylesheet" type="text/css" href="page.css" />";
echo " <meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1" />";
echo " </head>";
echo " <body>";
echo " <table width="999px" height="100%" align="center" border="0" rules="groups">";
echo " <tr><td colspan="3">"; // ganz oberer Div-Holder
include "banner.php";
echo " </td></tr>";
echo " <tr><td colspan="3" align="center" style="background-color:#8033CC">";
include "menu.php";
echo "</td></tr>";
echo " <tr>";
echo " <td width="15opx" valign="top" style="background-color:#7d92bf">"; // linkes Menu
include "menul.php";
echo "</td>";
include "inhalt.php";
echo " </td><td width="150px" valign="top" style="background-color:#7F997F">"; // rechtes Menu
include "menur.php";
echo " </td>";
echo " </td></tr>";
echo " <tr><td height="125px" colspan="3" style="background-color:#8033CC"><div id="unten">"; // In der Mitte der Inhalt
include "foot.php";
echo " </div></td></tr>";
echo " </table>";
echo " </body>";
echo "</html>";
?>
Mit freundlichen Grüßen
Kirika