开发者

Textbox cursor landing in the middle instead of beginning of line

I am making a page where I try to allow people to write about parks they know about. A problem I am having is that when a person tries to edit a park, the cursor in the text area ends up what seems to be 1 tab over from the beginning.

Here is an example:

http://www.comehike.com/outdoors/parks/park.php?park_id=447

On the left column, if click on "Write and share what you know about this topic" you will see that the cursor doesn't end up in the beginning of the text area.

Any i开发者_如何转开发dea why this is happening and how to fix it?

Thanks!!


get rid of the space between the textarea tags and that will solve that problem:

<textarea>     </textarea>
<textarea></textarea>


There's obviously data (looks like 2 tabs) being output in the value of the textbox, or is stored in the database with the existing data.

Ah yes, it's between your textarea tags. Remove the tabs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜