Problem

Tabelle zentrieren

Lösung

<table style=“margin-left: auto; margin-right: auto;“ width=“500″ border=1>
<caption>Diese Tabelle ist zentriert</caption>
<tbody>
<tr>
<td>Zelle 1 in Reihe 1 -Zelle 1 in Reihe 1</td>
<td>Zelle 2 in Reihe 1</td>
</tr>
<tr>
<td>Zelle 1 in Reihe 2</td>
<td>Zelle 2 in Reihe 2 – Zelle 2 in Reihe 2</td>
</tr>
</tbody>
</table>

Beispiel (wird hier nicht richtig angezeigt …)

Diese Tabelle ist zentriert
Zelle 1 in Reihe 1 -Zelle 1 in Reihe 1 Zelle 2 in Reihe 1
Zelle 1 in Reihe 2 Zelle 2 in Reihe 2 – Zelle 2 in Reihe 2