Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 24th, 2005, 12:57 AM
opt_inf_env@yahoo.com
Guest
 
Posts: n/a
Default Cursor in the beginning of text field.

Hello,

I have created a form with a text-fields.

<textarea name="explanation" rows=6 cols=70>
</textarea>

What I don't like there is that if I click in the middle or end of one
of the fields cursor is set in position of 16 simbols from the
beginning of field. As if there is already 16 blank spaces in the
field. I tried to use value="" but it does not help. Do you know how
this problem can be solved?

Thank you.

  #2  
Old July 24th, 2005, 12:57 AM
David Dorward
Guest
 
Posts: n/a
Default Re: Cursor in the beginning of text field.

opt_inf_env@yahoo.com wrote:
[color=blue]
> <textarea name="explanation" rows=6 cols=70>
> </textarea>
>
> What I don't like there is that if I click in the middle or end of one
> of the fields cursor is set in position of 16 simbols from the
> beginning of field.[/color]

Then my bet is that the code you pasted above isn't the same as the code in
the webpage (its always a good idea to provide a URL), and that the real
version has 16 spaces between the opening and closing tags of the element.
[color=blue]
> As if there is already 16 blank spaces in the
> field. I tried to use value="" but it does not help.[/color]

Which isn't much of a surprise - there is no value attribute for the
textarea element. http://validator.w3.org/


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
  #3  
Old July 24th, 2005, 12:59 AM
me
Guest
 
Posts: n/a
Default Re: Cursor in the beginning of text field.

<opt_inf_env@yahoo.com> wrote in message
news:1111846805.194851.294850@g14g2000cwa.googlegr oups.com...[color=blue]
> Hello,
>
> I have created a form with a text-fields.
>
> <textarea name="explanation" rows=6 cols=70>
> </textarea>
>
> What I don't like there is that if I click in the middle or end of one
> of the fields cursor is set in position of 16 simbols from the
> beginning of field. As if there is already 16 blank spaces in the
> field. I tried to use value="" but it does not help. Do you know how
> this problem can be solved?
> Thank you.[/color]

Not on my machine in IE. Please post your code and give a URL.

Here's what I tried:
<form name="form1" >
<textarea name="explanation" rows="6" cols="70"></textarea>
</form>

Which browser are you using?
Good Luck,
me


  #4  
Old July 24th, 2005, 12:59 AM
opt_inf_env@yahoo.com
Guest
 
Posts: n/a
Default Re: Cursor in the beginning of text field.

Unfortunately I made some changes in my document and problem
disappears. I do not know which changes were significant... I use
Microsof Internet Explorer. Nex time, if this problem appears I will
send URL with source...

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles