Suresh Koya
2006-05-24 13:54:48 UTC
Hi,
I am using FOP 0.20.5. I am facing a problem creating table by specifying width in percentage. Even though I specify the width as 75% it takes the whole width of 100%. Could anyone let me know what I am missing here.
<fo:table table-layout="fixed" width="75%">
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-after="3pt" padding-before="3pt" padding-end="3pt" padding-start="3pt">
<fo:block text-align="start">
<fo:basic-link color="blue" external-destination="http://localhost/io/">
<fo:external-graphic src="Loading Image...
" border="0px solid"/>
</fo:basic-link>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-after="3pt" padding-before="3pt" padding-end="3pt" padding-start="3pt">
<fo:block text-align="start">
<fo:block font-weight="bold" font-family="Times-Roman" space-after="18pt" keep-with-next="always" line-height="28pt" font-size="18pt" id="A10">
Best of Java IO</fo:block>
<fo:block/>
10/02/2002
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
Regards,
Suresh
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
I am using FOP 0.20.5. I am facing a problem creating table by specifying width in percentage. Even though I specify the width as 75% it takes the whole width of 100%. Could anyone let me know what I am missing here.
<fo:table table-layout="fixed" width="75%">
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-after="3pt" padding-before="3pt" padding-end="3pt" padding-start="3pt">
<fo:block text-align="start">
<fo:basic-link color="blue" external-destination="http://localhost/io/">
<fo:external-graphic src="Loading Image...
</fo:basic-link>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-after="3pt" padding-before="3pt" padding-end="3pt" padding-start="3pt">
<fo:block text-align="start">
<fo:block font-weight="bold" font-family="Times-Roman" space-after="18pt" keep-with-next="always" line-height="28pt" font-size="18pt" id="A10">
Best of Java IO</fo:block>
<fo:block/>
10/02/2002
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
Regards,
Suresh
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.