position in textarea

  • Thread starter Thread starter Bernie V
  • Start date Start date
B

Bernie V

Hi,

I have a textarea with serval lines on a webform.
When i select the textarea or use the tab, I can't position to the first
line. It positions to the middle.
Then I have to use the arrows to go to the first line.

How can I solve this ?

Thx in advance.

gr

Bernd
 
Hi,
the reason for this is because you have you have a linebreak between your
start tag and your closing tag. Try this:
<textarea cols="20" rows="10"></textarea>

Shawn



Hi,

I have a textarea with serval lines on a webform.
When i select the textarea or use the tab, I can't position to the first
line. It positions to the middle.
Then I have to use the arrows to go to the first line.

How can I solve this ?

Thx in advance.

gr

Bernd
 
Thx for your tip, but there is no linebreak between the tags.

This is my tag:
<textarea name="body" id="body" class="TekstMidden" style="WIDTH: 277px;
DIRECTION: ltr; TEXT-ALIGN: left" rows="10" cols="32"></textarea>

Any other opinions ?

grz

Bernd
 
Try this one:
<asp:textbox textmode="MultiLine" rows="10" columns="32"></asp:textbox>

Shawn


Thx for your tip, but there is no linebreak between the tags.

This is my tag:
<textarea name="body" id="body" class="TekstMidden" style="WIDTH: 277px;
DIRECTION: ltr; TEXT-ALIGN: left" rows="10" cols="32"></textarea>

Any other opinions ?

grz

Bernd
 
thx !

gr

Bernd
Shawn said:
Try this one:
<asp:textbox textmode="MultiLine" rows="10" columns="32"></asp:textbox>

Shawn


Thx for your tip, but there is no linebreak between the tags.

This is my tag:
<textarea name="body" id="body" class="TekstMidden" style="WIDTH: 277px;
DIRECTION: ltr; TEXT-ALIGN: left" rows="10" cols="32"></textarea>

Any other opinions ?

grz

Bernd
 
Back
Top