Hi, Ryan,

Try
<fo:region-body margin-left="1in" margin-right="1in" margin-top="1in" 
margin-bottom="1.25in">

(or whatever the values should be).

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)



"Ryan Ackley" <[EMAIL PROTECTED]> 
06/14/2005 10:39 AM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
Header margins






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]




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

Reply via email to