Re: Re: Text Area Question
| From: | Marek Kilimajer | Date: | Wed, 28 Apr 2004 08:53:25 +0000 |
| Subject: | Re: Re: Text Area Question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184846@lists.php.net to get a copy of this message | ||
Marek Kilimajer wrote:
ConbuD wrote:witch - nonblocking space :-)I tried that, but all that did was put more space between each of my lines anytime I did use enter, when I didnt hit enter to wrap then it came out on 1 long line again.You have to give the containing block the same width, font type and size as your textarea. Also use nl2br() function as noted. And you likely want to replace every other space in sequences of spaces.