Hi,

I have very simple example where I nest block inside block-container. I set both paddings and margins to 0. I am confused since unexplained padding (left and right) appears inside block-container.

I would expect that borders are one next to another but this is not the case. Top and bottom borders are, but left and right are not.

Am I missing something really obvious?

Tested with fop 0.95 and 1.0, Windows XP SP3, Java 1.6.

Full example below:

=====
<?xml version="1.0" encoding="utf-8"?>
<root xmlns="http://www.w3.org/1999/XSL/Format";>

<layout-master-set>
<simple-page-master master-name="first" page-height="29.7cm" page-width="21cm" margin="2.5cm">
    <region-body></region-body>
  </simple-page-master>
</layout-master-set>

 <page-sequence master-reference="first">
   <flow flow-name="xsl-region-body">

     <block-container text-align="left" border="0.2cm solid black"
         width="10cm" padding="0" margin="0">

       <block padding="0" margin="0" border="0.4cm solid red">
         test text test text test text test text test text test
         test text test text test text test text test text test
         test text test text test text test text test text test
       </block>

     </block-container>

   </flow>
 </page-sequence>
</root>
-----


Regards,
Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to