0

Hi all,

I've created an html form with a textarea for comments. When I tab into the text area the cursor moves to the centre of the top line rather than the beginning.

How can I stop this and have it always tab to the beginning of the first line without leaving any space?

Thanks.

1
Contributor
2
Replies
3
Views
4 Years
Discussion Span
Last Post by Tinnin
0

This is the code I am using:

<p>Comments:<br /> <textarea name="comments" rows="20" cols="50">
        <?php if(isset($_POST['comments'])) echo $_POST['comments']; ?>
          </textarea></p>
0

Nevermind. Fixed it. It seemed the whitespace in the tags was the issue.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.