0

Hello everyone I have created a basic chat window in that i used textarea to enter message but by default it is taking a tab i.e., initially cursor isone tab ahead instead of being at initial position of textarea . Can anyone help me??????

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by s_kanika
0

Hello everyone I have created a basic chat window in that i used textarea to enter message but by default it is taking a tab i.e., initially cursor isone tab ahead instead of being at initial position of textarea . Can anyone help me??????

Post your code and I will see if I can figure it out.

0

Post your code and I will see if I can figure it out.

Here is my html code
<html>
<body>
<div>
<form method="post" action="" name="chat_frm">
<div class="type">

<input type="hidden" name="login" value="<?php echo $user;?>" />
<textarea name="msg" cols="35" rows="3" >
</textarea><br/>
</div><!--typebox-->
<input type="submit" name="send" value=" Send" />
<input type="submit" name="close" value=" close" />

</form>

</div><!--main-->
</body>
</html>

0
<textarea name="msg" cols="35" rows="3" >
</textarea><br/>

Don't place the close tag on a new line, try this:

<textarea name="msg" cols="35" rows="3" ></textarea><br/>
0
<textarea name="msg" cols="35" rows="3" >
</textarea><br/>

Don't place the close tag on a new line, try this:

<textarea name="msg" cols="35" rows="3" ></textarea><br/>

It works Thanx a ton

This question has already been answered. 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.