You could try to put the block in a block container with a defined width
attribute.

or failing that a single row borderless table (I know this works):
<fo:table table-layout="fixed">
  <fo:table-column column-width="2cm"/>
  <fo:table-column column-width="6cm"/>
  <fo:table-body>
      <fo:table-row>
        <fo:table-cell>
          <fo:block text-align="start">
            <fo:external-graphic src="file:{$file}"/>
          </fo:block>
        </fo:table-cell>
        <fo:table-cell>
          <fo:block text-align="end">
            right-aligned text</fo:block>
        </fo:table-cell>
      </fo:table-row>
  </fo:table-body>
</fo:table>

Cheers,
Roland

> -----Original Message-----
> From: Jon Steeves [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 22 January 2003 9:11 AM
> To: [EMAIL PROTECTED]
> Subject: problem with justified headers
>
>
> Hello:
>
> Another neophyte question:
>
> I'm trying to do a running header that consists of a .gif on
> the left and some text right justified on the same line.
> Here's the latest code that doesn't work:
>
>  <fo:static-content flow-name="xsl-region-before">
>      <fo:block>
>        <fo:external-graphic
> src="C:\drb\xsl\XXXXLogo2001_black.gif" />
>        <fo:inline  text-align="end" font-size="9pt"
> font-weight="bold" color="black">
>            Some text header info
>      </fo:inline>
>       </fo:block>
>     </fo:static-content>
>
> The result of this is that the gif image appears with the
> header text right beside it, not right justified; can anyone
> tell me what I'm doing wrong?
>
>
> Jon Steeves
>
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> 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