Andi: td mit gestrichelter linie

Hallo,

ich möchte eine gestrichelte Linie in einem td einfügen.

<table>
<tr>
  <td><hr style='border:thin dotted red'></td>
</tr>
</table>

Wie schaffe ich es, dass das td nur 1px hoch ist? Mit height:1px funktioniert es nicht.

Gruß
Andi

  1. Hallo Andi,

    Wie schaffe ich es, dass das td nur 1px hoch ist? Mit height:1px funktioniert es nicht.

    schau' mal hier: http://css-discuss.incutio.com/?page=HorizontalLine

    Gruß Gunther

    1. Hallo Andi,

      Danke, das hat mir geholfen.

      Grüße
      Andi

  2. Hallo Andi,

    <table>
    <tr>
      <td><hr style='border:thin dotted red'></td>
    </tr>
    </table>

    Macht m.E. keinen Sinn eine <hr> in eine <td> zu packen. Aber egal.

    Wie schaffe ich es, dass das td nur 1px hoch ist? Mit height:1px funktioniert es nicht.

    <td style="border-bottom:1px dotted #ff0000; height:1px;">&nbsp;</td>

    sollte doch reichen (ungetestet), oder?

    Mit freundlichen Grüßen

    André