Table overflows block

Hi,

I have the following XSL:

<fo:block border-width="2pt" border-style="solid" border-color="black" space-before="0.4cm">
 <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="7.5cm"/>
   <fo:table-column column-width="9.5cm"/>
   <fo:table-body>
     <fo:table-row keep-together.within-column="always">
       <fo:table-cell><fo:block font-size="9" font-weight="bold" text-align="center" background-color="#E8E6DC" padding-left="0.1cm" padding-after="0.1cm" padding-before="0.1cm" padding-right="0.1cm">Tasumine</fo:block></fo:table-cell>
       <fo:table-cell><fo:block font-size="9" font-weight="bold" text-align="center" background-color="#E8E6DC" padding-left="0.1cm" padding-after="0.1cm" padding-before="0.1cm" padding-right="0.1cm">Poliisi maksumus</fo:block></fo:table-cell>
     </fo:table-row>
   </fo:table-body>
 </fo:table>
</fo:block>

(Note: omitted the XSL for content rows as they're irrelevant)

The problem is that it outputs the table as follows:
http://tfr.cafe.ee/kama/xsl-fo-broken-table.png

Is there a way to fix it so the background color for the header row doesn't overflow over the outer border?


-- 
Indrek

Received on Tuesday, 25 October 2011 13:48:36 UTC