LillyChamp: Tabelle und CSS Frage

Beitrag lesen

Hi,

ich habe eine Tabelle und möchte gerne. Jede Zeile durch einen Strich trennen. Folgender Code macht das was ich will:

<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="200"><b>Kundennummer</b></td>
    <td width="200"><b>Name</b></td>
    <td width="200"><b>Firma</b></td>
  </tr>
  <tr valign="top">
    <td style="border-bottom:solid 2px;border-bottom-color:#006699" bordercolor="#006699">123</td>
    <td style="border-bottom:solid 2px;border-bottom-color:#006699" bordercolor="#006699">Jens</td>
    <td style="border-bottom:solid 2px;border-bottom-color:#006699" bordercolor="#006699">Test</td>
  </tr>
  <tr valign="top">
    <td style="border-bottom:solid 2px;border-bottom-color:#006699" bordercolor="#006699">124</td>
    <td style="border-bottom:solid 2px;border-bottom-color:#006699" bordercolor="#006699">Mark</td>
    <td style="border-bottom:solid 2px;border-bottom-color:#006699" bordercolor="#006699">Test2</td>
  </tr>
</table>

Geht das auch besser ohne das ich ein externes css brauche oder dass ich der Tabelle nur 1x den Style geben muss?

LillyChamp