• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Textarea ohne Scrollbar warum?

raphaelf

Mitglied
Hallo,

kann mir jemand sagen, warum mein textarea "Nachricht" kein Scrollbalken hat wenn ich lange texte schreibe?

Danke schön im Voraus :sad:

HTML:
<form name="Formular" action="mail_it.php" method="POST" onSubmit="return chkFormular()">
<table  cellspacing="0" cellpadding="0" class="form">
<tr>
<td  style="width:198px; height:128px">
<table  cellspacing="0" cellpadding="0">
<tr>
<td  style="width:198px; height:27px">Name:<input name="name" type="text"></td>
</tr>
<tr>
<td  style="width:198px; height:27px">Firma:<input name="firma" type="text"></td>
</tr>
<tr>
<td  style="width:198px; height:27px">Telefonnummer:<input name="telefonnummer" type="text"></td>
</tr>
<tr>
<td  style="width:198px; height:27px">E-Mail:<input name="email" type="text"></td>
</tr>
</table>
</td>
<td  style="width:202px; height:128px">
<table  cellspacing="0" cellpadding="0">
<tr>
<td  style="width:202px; height:109px">Nachricht:<textarea name="nachricht" cols="50" rows="10"></textarea></td>
</tr>
<tr>
<td  style="width:202px; height:19px">
<br style="line-height:1px">
<input type="submit" value="Senden">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
 
Hallo,

ich habe es gefunden. Problem war im CSS:

.form textarea {
width:191px;
height:102px;
font-family:verdana;
font-size:11px;
color:#7F7F7F;
overflow:auto; <- ich habe hier von hidden auf auto umgestellt und jetzt geht

Danke!
 
Zurück
Oben