473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

position in textarea

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


Nov 17 '05 #1
4 1151
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

"Bernie V" <bernd.vantyghem@pandoradotbe> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
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

Nov 17 '05 #2
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
"Shawn" <bo********@hotmail.com> schreef in bericht
news:uw**************@TK2MSFTNGP12.phx.gbl...
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

"Bernie V" <bernd.vantyghem@pandoradotbe> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
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


Nov 17 '05 #3
Try this one:
<asp:textbox textmode="MultiLine" rows="10" columns="32"></asp:textbox>

Shawn
"Bernie V" <bernd.vantyghem@pandoradotbe> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
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
"Shawn" <bo********@hotmail.com> schreef in bericht
news:uw**************@TK2MSFTNGP12.phx.gbl...
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

"Bernie V" <bernd.vantyghem@pandoradotbe> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
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



Nov 17 '05 #4
thx !

gr

Bernd
"Shawn" <bo********@hotmail.com> schreef in bericht
news:OJ**************@TK2MSFTNGP11.phx.gbl...
Try this one:
<asp:textbox textmode="MultiLine" rows="10" columns="32"></asp:textbox>

Shawn
"Bernie V" <bernd.vantyghem@pandoradotbe> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
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
"Shawn" <bo********@hotmail.com> schreef in bericht
news:uw**************@TK2MSFTNGP12.phx.gbl...
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

"Bernie V" <bernd.vantyghem@pandoradotbe> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
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



Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: discomiller | last post by:
Mario Mueller: Hello *, radiobuttons belong to other radiobuttons by the "name="any_value"" attribut. Thats a fakt. I got the following XML:...
1
by: j_macaroni | last post by:
I found this code to calculate the caret position in a textarea. In the script getCaret below, I pass it the TextArea1 element. It seems to work until you press a CR. In which case you get the...
7
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
I need to emulate the missing "maxlegth" attribute in "textarea" fields but all my Google searches either lead to obsolete scripts that overwrite the "value" property (thus losing caret position)...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.