Jump to content

question about textarea


zohab

Recommended Posts

hi

 

I have created one text area but when i click on it it start typing from middle

instead of start

 


<table width="100%"  border="1">
  <tr>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <td> </td>
    <td><textarea name="txtComments"  rows="5" cols="100" style="font-family:tahoma;font-size:10px;" id="txtComments">
			</textarea></td>
  </tr>
</table>

 

any ideas?

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/136024-question-about-textarea/
Share on other sites

Change this:

 

<textarea name="txtComments"  rows="5" cols="100" style="font-family:tahoma;font-size:10px;" id="txtComments">
            </textarea></td>

 

to this:

 

<textarea name="txtComments"  rows="5" cols="100" style="font-family:tahoma;font-size:10px;" id="txtComments"></textarea></td>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.