I can't get header margins to work. 

I am using FOP 20.5. I can't figure out how to make the header margins the
same as the body margins. FOP always starts my text in the upper left corner
of the page regardless of what I set for the margin values in the header. I
also tried using padding but it didn't work. Here is the xml I am using for
the region:

<fo:simple-page-master master-name="first-page0" page-height="11.0in"
page-width="8.5in">
  <fo:region-before display-align="before" extent="1.0in"
margin-left="1.25in" region-name="title-header0" /> 
  <fo:region-body margin="1.0in 1.25in 1.0in 1.25in" /> 
  <fo:region-after display-align="after" extent="0.0in" margin-left="1.25in"
region-name="title-footer0" /> 
</fo:simple-page-master>

Then here is the content just the single word "blah"

<fo:static-content flow-name="title-header0">
  <fo:block text-align="start" linefeed-treatment="preserve"
white-space-collapse="false">
    <fo:inline font-family="Times New Roman" font-size="12.0pt"
color="#000000">blah</fo:inline> 
  </fo:block>
</fo:static-content>

Am I doing something wrong? Any ideas?

-Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to