Re:dynamical balancing text in two colums
| From: | SLanger at spirit21 dot de | Date: | Wed, 03 Sep 2003 08:59:38 +0000 |
| Subject: | Re:dynamical balancing text in two colums | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161523@lists.php.net to get a copy of this message | ||
Hello
Just asking why do you want to split at paragraphs? Couldn't you just
simply look for a word boundary and then split the columns? You could
exclude tags from the split meaning wordboundaries cannot be inside <>
that way no breaking of tags.
Since the result is checked by a human they can easily change the
appearance by including breaks as needed.
So simply do your half split and than work your way back to the first word
boundary.
That should give a fairly balanced column.
Regards
Stefan Langer