Hallo,
Danke für die Tipps, hatte zwar irgend wie forum durchsucht gehabt aber nix brauchbares gefunden...nicht mein tag
Also hab das jetzt so gemacht...
PHP
<script type="text/javascript" language="JavaScript1.2">
var angezeigt = false;
function versteckt()
{
if (angezeigt)
{
document.getElementById('ghost').style.display = 'none';
angezeigt = false;
}
else
{
document.getElementById('ghost').style.display = 'block';
angezeigt = true;
}
}
</script>
<center><a href="#" onclick="versteckt()">Töggeli-CUP 2008/09</a></center>
<center><table border="1" cellpadding="0" cellspacing="0" align="center" BORDERCOLOR="#FFFFFF" style="display : none" id="ghost">Zum ein-/ausgeblenden klicken!</center>
<tr align="center">
<th HEIGHT="30" WIDTH="50" align="center" BGCOLOR="#FF0000"><font style='color:#000099'>Rang</font></th>
<th WIDTH="60" BGCOLOR="#FF0000"><font style='color:#000099'>Player</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>31.10</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>28.11</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>19.12</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>30.01</font></th>
<th WIDTH="60" BGCOLOR="#FF0000"><font style='color:#000099'>23.02</font></th>
<th WIDTH="60" BGCOLOR="#FF0000"><font style='color:#000099'>27.03</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>24.04</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>29.05</font></th>
<th WIDTH="50" BGCOLOR="#FF0000"><font style='color:#000099'>Total</font></th>
</tr>
Alles anzeigen
Mein Problem ist jetzt, dass das Ding auf und zu geht aber die Tabelle nicht Zentriert ist obwohl ich wie blöde schon überall center befehle eingegeben hab.
Ausserdem wird dann über die volle breite ein zweiter? Rahmen dargestellt.
Was muss ich machen damit die auf zuklappende Tabelle auch Zentriert wird wie die obere?
Hier der Link: http://www.toeggeli.ch/?path=toeggelicup
Gruss Alpi
Edit:
Uuupppsss.... hab jetzt gemerkt, das es mit IE zentriet ist, aber bei Firefox ist das problem oO
Kan man das irgend wie machen, das es bei allen Browsern gleich ist?