<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Times New Roman">Hello,<br>
<br>
I'm wondering if there is a way to get a table caption to center over
the width of the (left-aligned) table that it is the caption for. I've
only been able to get a table caption to center within the page width
itself. For example, if the table has a width of 3 inches and the page
has a width of 6 inches, the table caption will be centered on 6
inches, not on 3 inches.<br>
<br>
Here's an example snippet:<br>
<br>
------------<br>
<br>
<fo:block space-before="10pt" space-after="10pt"
start-indent=".125in" end-indent=".125in"><br>
<fo:table-and-caption><br>
<fo:table-caption><br>
<fo:block font-weight="bold"
text-align="center" display-align="auto" space-after=".3em"
keep-with-next.within-page="10">This is the caption</fo:block><br>
</fo:table-caption><br>
<fo:table space-before="0pt"><br>
<fo:table-body start-indent="0pt"
end-indent="0pt"><br>
<fo:table-row><br>
<fo:table-cell
border-collapse="collapse" padding=".2em" text-align="start"
display-align="auto" border="solid 1pt black"><br>
<fo:block>Table row one,
column one</fo:block><br>
</fo:table-cell><br>
<fo:table-cell
border-collapse="collapse" padding=".2em" text-align="start"
display-align="auto" border="solid 1pt black"><br>
<fo:block>Table row one,
column two</fo:block><br>
</fo:table-cell><br>
</fo:table-row><br>
<fo:table-row><br>
<fo:table-cell
border-collapse="collapse" padding=".2em" text-align="start"
display-align="auto" border="solid 1pt black"><br>
<fo:block>Table row two,
column one</fo:block><br>
</fo:table-cell><br>
<fo:table-cell
border-collapse="collapse" padding=".2em" text-align="start"
display-align="auto" border="solid 1pt black"><br>
<fo:block>Table row two,
column two</fo:block><br>
</fo:table-cell><br>
</fo:table-row><br>
</fo:table-body><br>
</fo:table><br>
</fo:table-and-caption><br>
</fo:block><br>
<br>
<br>
----<br>
<br>
I can supply the full FO source if needed.<br>
<br>
Thanks for your help,<br>
<br>
--Andy<br>
</font>
</body>
</html>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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/terms-of-service.html