[xep-support] Center a table on a page

Alexander Peshkov peshkov at renderx.com
Mon Feb 9 01:19:22 PST 2004


Hello Susan,

SK> I am using XEP Version 3.5.4

I have checked it with XEP 3.5.4 and it works fine too. Can I have a
look at your code please?

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX


SK> At 12:32 PM 1/30/2004 +0300, you wrote:
>>Hello Susan,
>>
>>SK> Did anyone try this? I cannot get it to work.
>>
>>It's rather strange. It works fine for me and, I believe, for some of
>>XEP users too. You better post your code here so that someone (i.e. me :-)
>>can check it out.
>>By the way, what version of XEP are you using?
>>
>>Best regards,
>>Alexander Peshkov                             mailto:peshkov at renderx.com
>>RenderX
>>
>>
>>SK> At 11:29 AM 9/30/2003 +0400, Alexander Peshkov wrote:
>> >>Hello Detlef,
>> >>
>> >>You can center your table by wrapping it in another table like this:
>> >>
>> >><fo:table width="100%">
>> >>   <fo:table-column column-width="proportional-column-width(1)"/>
>> >>   <fo:table-column/>
>> >>   <fo:table-column column-width="proportional-column-width(1)"/>
>> >>   <fo:table-body>
>> >>     <fo:table-row>
>> >>       <fo:table-cell/>
>> >>       <fo:table-cell>
>> >>
>> >>         <!-- place table which has to be centered here -->
>> >>         <fo:table border="thin solid black">
>> >>           <fo:table-body text-align="center">
>> >>             <fo:table-row><fo:table-cell><fo:block>Nested table is
>> >> here</fo:block></fo:table-cell></fo:table-row>
>> >>           </fo:table-body>
>> >>         </fo:table>
>> >>
>> >>       </fo:table-cell>
>> >>       <fo:table-cell/>
>> >>     </fo:table-row>
>> >>   </fo:table-body>
>> >></fo:table>
>> >>
>> >>Hope this helps.
>> >>
>> >>Best regards,
>> >>Alexander Peshkov                             mailto:peshkov at renderx.com
>> >>RenderX
>> >>
>> >>OD> Hi,
>> >>
>> >>OD> I want to center a table on a page.
>> >>
>> >>OD> <fo:block text-align="center">
>> >>OD>  <fo:table table-layout="fixed">
>> >>OD>   <xsl:apply-templates/>
>> >>OD>  </fo:table>
>> >>OD> </fo:block>
>> >>
>> >>OD> or
>> >>
>> >>OD> <fo:table table-layout="fixed" text-align="center">
>> >>OD>   <xsl:apply-templates/>
>> >>OD> </fo:table>
>> >>
>> >>OD> But it works not. What is wrong?
>> >>
>> >>OD> Thanks in advanced,
>> >>
>> >>OD> Detlef Obenaus
>> >>OD> Technical Writer
>> >>
>> >>OD> SchlumbergerSema Management GmbH
>> >>OD> Otto-Hahn-Straße 36
>> >>OD> 63303 Dreieich
>> >>
>> >>OD> Tel.: +49 (0) 69 23 83-33 90
>> >>
>> >>OD> EMail:    DObenaus at frankfurt.sema.slb.com
>> >>
>> >>
>> >>OD> -------------------
>> >>OD> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>> >>OD> in the body of the message to majordomo at renderx.com from the address
>> >>OD> you are subscribed from.
>> >>OD> (*) By using the Service, you expressly agree to these Terms of
>> >>Service http://www.renderx.com/tos.html
>> >>
>> >>
>> >>-------------------
>> >>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>> >>in the body of the message to majordomo at renderx.com from the address
>> >>you are subscribed from.
>> >>(*) By using the Service, you expressly agree to these Terms of Service
>> >>http://www.renderx.com/tos.html
>>
>>
>>SK> -------------------
>>SK> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>>SK> in the body of the message to majordomo at renderx.com from the address
>>SK> you are subscribed from.
>>SK> (*) By using the Service, you expressly agree to these Terms of 
>>Service http://www.renderx.com/tos.html
>>
>>
>>-------------------
>>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>>in the body of the message to majordomo at renderx.com from the address
>>you are subscribed from.
>>(*) By using the Service, you expressly agree to these Terms of Service 
>>http://www.renderx.com/tos.html


SK> -------------------
SK> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
SK> in the body of the message to majordomo at renderx.com from the address
SK> you are subscribed from.
SK> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list