restricting text fill on a text area
| From: | Ian Truelsen | Date: | Thu, 06 Nov 2003 20:44:00 +0000 |
| Subject: | restricting text fill on a text area | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168772@lists.php.net to get a copy of this message | ||
Here is what I want to do, but I have no idea if it is possible:
I want to set up a sized div on my page and be able to fill it with text
from a text file. Easy enough, but I want to be able to 'sense' when the
text area fills, no matter what size text the browser has set. I don't
really want to use the scroll bars as they don't render well, IMO. What
I would prefer to do is to have the text fill the area in question and
then throw up a next page button, or something of the like.
I can see that I would have to parse out the text word by word, wait for
the overflow and then have that position be the beginning of the next
page.
Can anyone see how/whether this would be possible?
--
Ian Truelsen
Email: ian@ihtruelsen.dyndns.org
AIM: ihtruelsen
Homepage: http://www.ihtruelsen.dyndns.org