HTML :td

Bruce Easton bruce at stn.com
Thu Aug 21 13:03:58 PDT 2008


Jose Lerebours wrote Thursday, August 21, 2008 3:41 PM:

> What about using <div> within <td> and set the <div> to desired width?  
> If a layer is given a fixed width,
> it will not expand and force text to wrap.  Of course, you then have to 
> set height: auto; for the layer so that
> if you require too many lines, the layer expands accordingly.
> 

I don't think you need div to do that under td - I think you 
should just be able to control from the td (let's say you 
want a td width of 300px):

html id :td :zz "style='width:300px'" :tx "My text"

or something like that - I only use :tx so I'm not sure of the 
fp html syntax above, so I would just write:

html id :tx "<td style='width:300px'>My text</td>"

But, of course, this only gives better control of the width 
of the td, and does not address guaranteed breaking of text 
after a certain number of source characters, I addressed 
in previous post.  


Bruce

Bruce Easton
STN, Inc.

 


More information about the Filepro-list mailing list