Loading ...
Sorry, an error occurred while loading the content.
 

Re: align text left, center and right on same line

Expand Messages
  • hakan.lindestaf@epani.com
    Thank you, that works exactly as I need! /Hakan ... without ... text is
    Message 1 of 7 , Mar 1, 2001
      Thank you, that works exactly as I need!

      /Hakan



      --- In XSL-FO@y..., MURAKAMI Shinyu <murakami@n...> wrote:
      > hakan.lindestaf@e... wrote:
      > > Thanks, it works, but I was hoping it could have been done
      without
      > > the width specified. Problems can maybe occur when the center
      text is
      > > longer than 33 % of the width, but the other texts are short?
      >
      > Well, try the following:
      >
      > <fo:table table-layout="fixed" inline-progression-dimension="100%">
      > <fo:table-column column-width="0%"/>
      > <fo:table-column column-width="100%"/>
      > <fo:table-column column-width="0%"/>
      > <fo:table-body>
      > <fo:table-row>
      > <fo:table-cell>
      > <fo:block text-align="start" wrap-option="no-wrap">
      > Left Text
      > </fo:block>
      > </fo:table-cell>
      > <fo:table-cell>
      > <fo:block text-align="center">
      > Center Text
      > </fo:block>
      > </fo:table-cell>
      > <fo:table-cell>
      > <fo:block text-align="end" wrap-option="no-wrap">
      > Right Text
      > </fo:block>
      > </fo:table-cell>
      > </fo:table-row>
      > </fo:table-body>
      > </fo:table>
      >
      >
      > Shinyu Murakami
    • hakan.lindestaf@epani.com
      Thank you very much, it s exactly what I wanted. /Hakan ... without ... text is
      Message 2 of 7 , Mar 1, 2001
        Thank you very much, it's exactly what I wanted.

        /Hakan



        --- In XSL-FO@y..., MURAKAMI Shinyu <murakami@n...> wrote:
        > hakan.lindestaf@e... wrote:
        > > Thanks, it works, but I was hoping it could have been done
        without
        > > the width specified. Problems can maybe occur when the center
        text is
        > > longer than 33 % of the width, but the other texts are short?
        >
        > Well, try the following:
        >
        > <fo:table table-layout="fixed" inline-progression-dimension="100%">
        > <fo:table-column column-width="0%"/>
        > <fo:table-column column-width="100%"/>
        > <fo:table-column column-width="0%"/>
        > <fo:table-body>
        > <fo:table-row>
        > <fo:table-cell>
        > <fo:block text-align="start" wrap-option="no-wrap">
        > Left Text
        > </fo:block>
        > </fo:table-cell>
        > <fo:table-cell>
        > <fo:block text-align="center">
        > Center Text
        > </fo:block>
        > </fo:table-cell>
        > <fo:table-cell>
        > <fo:block text-align="end" wrap-option="no-wrap">
        > Right Text
        > </fo:block>
        > </fo:table-cell>
        > </fo:table-row>
        > </fo:table-body>
        > </fo:table>
        >
        >
        > Shinyu Murakami
      Your message has been successfully submitted and would be delivered to recipients shortly.