xsl-list
[Top] [All Lists]

Re: PDF Form Formatting Question - should be fairly simple :-)

2002-09-30 12:28:26
robert_hitchins(_at_)cargill(_dot_)com wrote:
<fo:block-container height="2.00cm" width="3.00cm" top="0.15cm" left="0.30cm" padding=".6mm" position="absolute"> <fo:block text-align="start" font-family="sans-serif" font-size="6pt">
                Box Description Text
        </fo:block>
</fo:block-container>

What I need to know is how do I add the actual data into the block and center it below the description with a larger font. Have tried several combinations, but I think I'm on the wrong path.

It depends what you mean by "center it below".
What's wrong with
 <fo:block-container ... position="absolute">
   <fo:block ...>Box Description Text</fo:block>
   <fo:block text-align="center" font-size="12pt">
     Box Data
   </fo:block>
 </fo:block-container>
(as long as it fits the container)

J.Pietschmann


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>