hi leute, ich hab ein kleine problem mit einer website ^^.
und zwar mit dieser : http://members.tripod.de/nuklear2k3/index.php
da ich firefox user bin, habe ich diesen browser auch zum testen der seite verwendet und immer darauf geachtet das alles korrekt aussieht.
Als ich die seite aber mit dem IE betrachtete sah die seite einfach nur schlimm aus...
und zwar die linke tabelle (wo die pfeile drin sind) sind von mir per height und width attribut auf jeweils 20 pixel angegeben.
Der Firefox hält sich auch dran, und setzt die auf 20pixel breite und höhe, die nächste tabellenspalte im menü ist auf 120pixel breite festgelegt (also die wo das menü drinsteht), auch hier wieder Firefox geht ohne zu zucken, ie net...
Die eigentliche inhaltstabelle wird in beiden fällen richtig angezeigt, aber die linke die auf 20pixel breite und höhe beschränkt ist nicht...
desweiteren sind beim IE hässliche graue flächen in den PNG Bildern zu sehen, was auf eine inkompatibilität auf Transparency mit Alpha Layern zurückzuführen ist oder ? oO.
nunja nun frage ich wie man sonst noch eine tabellenspalte limitieren kann.. CSS hilft NICHT.
p.s. : Mitlerweile hab ich die IE user
oder sonst irgendwelche vorschläge
Hier noch der Code von der Seite
<html>
<head>
<title>Café Malinkrodthof</title>
<?php
if ($_GET["site"] == "") { $rowspan="6"; }
if ($_GET["site"] != "speisekarte") { $rowspan="6";}
if ($_GET["site"] == "speisekarte") { $rowspan="9";}
?>
<style type="text/css">
a:link { text-decoration: none; font-size: 13; color: #000000; }
a:visited { text-decoration: none; font-size: 13; color: #000000; }
a:hover { text-decoration: underline; font-size: 13; color: #993300;}
a:active { text-decoration: none; font-size: 13; color: #ff0000;}
td {font-family: arial;}
</style>
</head>
<body topmargin=0 marginleft="0" marginright="0" bgcolor=#993300 marginheight="0" marginwidth="0">
<table border="0" cellpadding="1" cellspacing="1" height="100%" width="100%">
<tr>
<td colspan="3" rowspan="1" bgcolor="#ffffcc" height=150 align=left>
<img src=img/header.png>
</td>
</tr>
<tr>
<td style="width:20px; height:20px" align="center" bgcolor="#993300" valign="middle" >
[img]img/pfeil_rechts.bmp[/img]
</td>
<td bgcolor="#ffffcc" width="120">
<font color="#993300" face="arial"> [url='index.php?site=aboutus']Über Uns[/url]</font>
</td>
<td width=600 colspan="1" rowspan="<?php echo $rowspan; ?>" bgcolor="#ffffcc" valign="top" align="center">test
<?php
if ($_GET["site"] == "kontakt") { echo "Kontakt";}
if ($_GET["site"] == "aboutus") { echo "Über uns";}
if ($_GET["site"] == "guestbook") { echo "Gästebuch";}
if ($_GET["site"] == "speisekarte")
{
if ($_GET["sub"] == "fruehstueck") { include("speisekarte_frühstück.html"); }
if ($_GET["sub"] == "kaffee") { include("speisekarte_kaffee.html"); }
if ($_GET["sub"] == "drinks1") { include("speisekarte_drinks1.html"); }
}
?>
</td>
</tr>
<tr>
<td align="center" bgcolor="#993300" height="20" width="20" valign="middle">
[img]img/pfeil_rechts.bmp[/img]
</td>
<td bgcolor="#ffffcc" width="120">
<font color="#993300" face="arial"> [url='index.php?site=kontakt']Kontakt[/url]</font>
</td>
</tr>
<tr>
<td align="center" bgcolor="#993300" height="20" valign="middle" width="20">
<img src="
<?php
if ($_GET["site"] == "speisekarte")
{
echo "img/pfeil_unten.bmp\">";
}
else
{
echo "img/pfeil_rechts.bmp\">";
}
?>
</td>
<td bgcolor="#ffffcc" width="120">
<font color="#993300" face="arial"> [url='index.php?site=speisekarte']Speisekarte[/url]</font>
</td>
</tr>
<?php
if ($_GET["site"] == "speisekarte")
{ echo "
<tr>
<td height=\"20\" width=\"20\" bgcolor=\"#FFFFCC\" align=\"center\" valign=\"middle\">
<font face=arial color=#993300>[b]»[/b]</font>
</td>
<td bgcolor=\"#ffdeaf\" width=\"120\">
<font face=\"arial\" color=\"#882200\"> <a href=\"index.php?site=speisekarte&sub=fruehstueck\">Frühstück</a>[/b]</font>
</td>
</tr>
<tr>
<td height=\"20\" width=\"20\" bgcolor=\"#FFFFCC\" align=\"center\" valign=\"middle\">
<font face=\"arial\" color=\"#993300\">[b]»[/b]</font>
</td>
<td bgcolor=\"#ffdeaf\" width=\"120\">
<font face=\"arial\" color=\"#993300\"> <a href=\"index.php?site=speisekarte&sub=kaffee\">Kaffee & Tee</a>[/b]</font>
</td>
</tr>
<tr>
<td height=\"20\" width=\"20\" bgcolor=\"#FFFFCC\" align=\"center\" valign=\"middle\">
<font face=\"arial\" color=\"#993300\">[b]»[/b]</font>
</td>
<td bgcolor=\"#ffdeaf\" width=\"120\">
<font face=\"arial\" color=\"#993300\"> <a href=\"index.php?site=speisekarte&sub=drinks1\">Drinks 1</a>[/b]</font>
</td>
</tr>";}
?>
<tr>
<td align="center" bgcolor="#993300" height="20" valign="middle" width="20">
[img]img/pfeil_rechts.bmp[/img]
</td>
<td bgcolor="#ffffcc" width="120">
<font color="#993300" face="arial"> [url='index.php?site=guestbook']Gästebuch[/url]</font>
</td>
</tr>
<tr>
<td align="center" bgcolor="#993300" valign="middle" width="20">
<font color="#ffffcc" face="arial"></font>
</td>
<td bgcolor="#ffffcc" width="120">
<font color="#993300" face="arial"></font>
</td>
</tr>
</table>
</body>
</html>
Alles anzeigen
[/code]