[xep-support] Still problem with centering a table horizontally on a page
Powell, Todd
Todd.Powell at hq.doe.gov
Wed Nov 2 11:10:59 PST 2005
I've seen reference to this problem throughout the forum, and tried the
suggested solution below:
<table width="100%">
<table-column column-width="proportional-column-width(1)"/>
<table-column/>
<table-column column-width="proportional-column-width(1)"/>
<table-body>
<table-cell column-number="2">
<table table-layout="fixed"
inline-progression-dimension="100%">
content of table that's to be centered
</table>
</table-cell>
</table-body>
</table>
Using this technique, my desired table is centered on the page, but it
seems to take up only one third of the page, but only when I use '100%'
as the value for 'inline-progression-dimension'. If I use '6in' as the
value, the table stretches out. Having 100% is handy in that I don't
need to do any calculation based on whether the page is portrait or
landscape, or if the table is being rendered across the full page, or
within a column.
Can anyone explain how I might get this to work without performing a
calculation to transform '100%' into a fixed length?
Thanks in advance,
Todd
=============================================
Todd S. Powell
Project Performance Corporation
Principal Analyst
U.S. Department of Energy
Phone: (301) 903-9043 Fax: (301) 903-5186
=============================================
* This message was scanned by the corporate mail server for viruses and objectionable content.
* This message was scanned by the corporate mail server for viruses and objectionable content.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20051102/213f8da0/attachment-0001.html>
More information about the Xep-support
mailing list