On Aug 18, 2006, at 07:20, Debasish Jana wrote:

Hi,

Thanks, Chris.
Is there any workaround to solve the problem? One solution could be to
distribute the border-width parameters in adjacent cells, where adjacency is
with column margin or row margin? Any other workaround?

The trick is to use only half the border-width for each cell, and once on the table as well for the outer edges.

For example, if you need a 1pt border for all cells, something like this would suffice:

<fo:table border-collapse="separate"
          border="solid 0.5pt black">
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell border="solid 0.5pt black">
      ...

Take care of the border-shorthand above. If the content of the table or of one cell can be broken over multiple pages, you'll need something like:

<fo:table border-collapse="separate"
          border-style="solid" border-color="black"
          border-before-width.length="0.5pt"
          border-before-width.conditionality="retain"
          border-after-width.length="0.5pt"
          border-after-width.conditionality="retain"
          border-start-width.length="0.5pt"
          border-and-width.length="0.5pt">
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell border-style="solid" border-color="black"
          border-before-width.length="0.5pt"
          border-before-width.conditionality="retain"
          border-after-width.length="0.5pt"
          border-after-width.conditionality="retain"
          border-start-width.length="0.5pt"
          border-and-width.length="0.5pt">
      ...

HTH!

Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to