You are here: Re: textarea curiousity « PHP Programming Language « IT news, forums, messages
Re: textarea curiousity

Posted by Sheldon Glickler on 07/17/06 15:52

I ran another little test. I bypassed the database and simply sent the text
as an argument and retrieved it with $_GET. I also echoed the first three
characters. Here are the results:

1 - The cursor is initially positioned at column 3.
2 - If I backspace to column one and put in text, then the first three
characters match the text I put in. The cursor is positioned initially at
column three.
3 - If I don't backspace, the first two characters become blanks
(non-printable) and the display starts at column 5

Shelly

"Sheldon Glickler" <sheldonlg@asap-consult.com> wrote in message
news:MYNug.21$1Z5.20@twister.nyroc.rr.com...
>I use Dreamweaver as my development IDE.
>
> When I create a textarea, put stuff in, save it to the database, and
> recall it to the textarea later, it alway comes up with what looks like a
> large tab spacing in the beginning. If I save it back, it comes back the
> same way. If I delete the leading stuff and save it again, it still comes
> back exactly the same.
>
> This is only for the first paragraph so I suspect there are some leading
> characters that I don't know about. How can I get it to display starting
> at the left edge?
>
> Shelly
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация