Tabelle mit CCS formatieren
Hallo,
ich möchte das 2. Feld der Tabelle mit CSS formatieren. Kann mir jemand sagen wie man in CSS z.B folgendes schreibt: <td class="col_1 col_last">?
Quelltext:
Code:
<table cellspacing="0" cellpadding="0" id="table_40" summary="vita">
<tbody>
<tr class="row_0 row_first even">
<td class="col_0 col_first">Name:</td>
<td class="col_1 col_last">Elchfan</td>
</tr>
<tr class="row_1 row_last odd">
<td class="col_0 col_first">Wohnort:</td>
<td class="col_1 col_last">Lappland</td>
</tr>
</tbody>
</table>
Ist dafür td .col_0 .col_first {...} richtig?
Danke für Eure Hilfe.