Michl: Problem mit Rahmen um Tabelle und Input

Hallo Zusammen,

ich hab ein kleines Problemchen bzgl. zweier Spalten. Die eine enthält lediglich einen Text, die andere einen <input>-Tag. Jetzt soll um die zwei Spalten jeweils ein Rahmen gezogen werden, jedoch kriege ich das nicht hin das beide gleich hoch sind. Könnt ihr mir da bitte weiterhelfen? Danke im voraus.

Gruß Michael

Hier die komplette Tabelle und die Stylesheets:

.gb { font-family: Tahoma; color:#2F3D2E; background-color: #EBEDE9; font-size:12px; text-decoration: none; border-color:#000000; border-bottom-width:1px; border-right-width: 1px; border-left-width: 1px; border-top-width: 1px; border-style:solid; padding:0px }

input { font-family: Tahoma; color:#2F3D2E; background-color: #EBEDE9; font-size:12px; text-decoration: none; border-color:#000000; border-bottom-width:1px; border-right-width: 1px; border-left-width: 1px; border-top-width: 1px; border-style:solid; padding:0px }

....

<table width="330" height="266" bgcolor="#EBEDE9" cellpadding="0" cellspacing="0">
<tr>
  <td width="330" height="260" valign="top">
  <table border="1">
   <tr><td colspan="2">&nbsp;</td></tr>
   <form action="index.php?link=6&action=save" method="post">
   <input type="hidden" name="action" value="save">
   <tr>
    <td width="40" valign="middle" align="center" class="gb">Name</td>
    <td width="290" valign="middle"><input type="text" name="name" size="20"></td>
   </tr>
   <tr>
    <td width="330" colspan="2"><textarea name="kommentar" rows="6" cols="38"></textarea></td>
   </tr>
   <tr><td colspan="2">&nbsp;</td></tr>
   <tr>
    <td width="330" align="left" colspan="2"><input type="submit" value="Abschicken"> <input type="reset" value="Formular löschen"></td>
   </tr>
   </form>
  </table>
  </td>
</tr>
</table>

  1. .gb { font-family: Tahoma; color:#2F3D2E; background-color: #EBEDE9; font-size:12px; text-decoration: none; border-color:#000000; border-bottom-width:1px; border-right-width: 1px; border-left-width: 1px; border-top-width: 1px; border-style:solid; padding:0px }

    uuuups, wie umständlich!

    gb { font-family:Tahoma; color:#2F3D2E; background-color: #EBEDE9; font-size:12px; text-decoration: none; border:1px solid #000; padding:0px }

    <td width="40" valign="middle" align="center" class="gb">Name</td>
        <td width="290" valign="middle"><input type="text" name="name" size="20"></td>

    Dem rechten td fehlt class="gb"

    LG Kalle

    1. wie gehts einfacher? ;o)

      Wenn ich den Rahmen von dem Input-Tag wegmache und dafür um die Spalte einen Rahmen setze sieht das irgendwie bescheiden aus..das hatte ich schon probiert. :o(