SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: textarea wrap problem
-
Feb 20, 2004, 14:19 #1
- Join Date
- Feb 2004
- Location
- forty feet from the garden
- Posts
- 9
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
textarea wrap problem
Greetings all,
I've searched a lot but can't find an answer...
I've made one of those blog comment entry forms (php), and all works well EXCEPT if you hold a key down long enough to create a string of characters
that is longer than the width of the entry field.
When I hold a key down, creating a hugely long string,
the subsequent echo'ed display goes in one long uninterrupted string,
straight out of the div and off the page.
I've tried wrap=virtual and a couple of other attributes.
I've tried putting the echo'ed comments in a <div> with a
specified width. Nothing works.
I realize that it's unlikely that anyone entering a comment will
actually do that, but I'd like to prevent it from happening.
HTML 101, or????
Thanks.
-
Feb 20, 2004, 14:21 #2
- Join Date
- Oct 2003
- Location
- €uroLand
- Posts
- 1,340
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
wordwrap might come in handy.
-
Feb 20, 2004, 14:36 #3
- Join Date
- Feb 2004
- Location
- forty feet from the garden
- Posts
- 9
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
YES!!!
I'll have a go at adjusting the parameters, but that definitely
is much better!
THANKS!
Bookmarks