HTML :td
Tyler
tyler.style at gmail.com
Thu Aug 21 12:11:00 PDT 2008
> Date: Thu, 21 Aug 2008 11:24:24 -0700 (PDT)
> From: Enrique Arredondo <henry at vegena.net>
> Subject: HTML :td
>
> How can I specify with :td to wrap every 20 characters ?
>
> html id :td :wi "20" :zz "WRAP" ?
>
Try " style='width:20em' " in your TD tag (or just use a CSS class).
This will create a cell twenty ems wide, which will be a 20char wrap
for a monospace font. The # of chars will vary slightly for variable
width fonts.
If it has to be exactly 20 chars on each line, you'll need a loop to
cut 20 chars at a time from the string and pump it with html :tx with
a <BR> appended to the end of each 20 chars.
Tyler
More information about the Filepro-list
mailing list