
February 15th, 2004, 10:32 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
cursor location in textarea
Hi,
One of the field in my form is a textarea. When the textarea is got focus, the cursor is always in the middle of the first line. In addition, data is also shown starting from the middle part of the first line. In other words, there are spaces inserted before the first character. But there are no leading spaces in the table (I'm using MYSQL).
Did I make any mistake or have to add some formats to my code shown below:
<tr>
<td>Description:</td>
<td><textarea rows=3 cols=50
name=description>
<?php echo $edit?$dvd[0]['description']:''; ?>
</textarea>
</td>
</tr>
|