Halloooo
Folgendes: Ich bastle mir gerade das Grundgerüst für eine "dynamische" Website. Eine Homepage, die sich der Länge des Textes anpasst. Dafür erstelle ich nun das Tabellengerüst und bin auf eine Frage gestossen.
Jeweils am Ende einer "Box" wünsche ich einen Abstand. Diesen kann ich allerdings nicht über "cellspacing" definieren, da sonst bei den blauen markierungen auch ein abstand hinkommt. Gibt es eine Variante über CSS vielleicht?
der Code:
PHP-Code:
<table border="1" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td height="27" width="100%" background="Bilder/slice.jpg">
</td>
</tr>
<tr >
<td height="250px" bgcolor="#949494" >
Hier links
</td>
</tr>
<tr>
<td height="27px" width="100%" background="Bilder/slice.jpg">
</td>
</tr>
<tr>
<td height="70px" bgcolor="#949494">
Besucher stat
</td>
</tr>
<tr>
<td height="27px" width="100%" background="Bilder/slice.jpg">
</td>
</tr>
<tr>
<td height="120px" bgcolor="#949494">
login felder
</td>
</tr>
</table>
Danke für eure Tipps oder andere Lösungsvarianten