W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2007

RE: Table cell problem

From: Vladimir Rodimyuk <VladimirR@ukrinvent.com>
Date: Thu, 19 Jul 2007 13:01:36 +0300
To: "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
CC: "tuxgig@yahoo.com" <tuxgig@yahoo.com>
Message-ID: <C50378BB9C267D4796753862ED9AE1A327A824FA08@UI-OPTERON.ukrinvent.com>
Well, for better look it's better to set a padding for fo:table, too.
So, finally it looks, like:

<fo:table table-layout="fixed" width="100%"
    wrap-option="wrap" border="3pt double black" padding="1pt">
    <fo:table-column column-number="1" column-width="20%"/>
    <fo:table-column column-number="2" column-width="10%"/>
....
    <fo:table-body>
        <!-- 1st row -->
        <fo:table-row>
            <fo:table-cell border="0.5pt solid black" padding="1pt">
                <fo:block font-weight="bold" color="blue">
                    Option Name 1 </fo:block>
            </fo:table-cell>
....
        </fo:table-row>
    </fo:table-body>
</fo:table>

Respectfully,
Volodymyr Rodymyuk



Received on Thursday, 19 July 2007 10:11:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT