On Jun 10, 2006, at 23:06, Gregor & Stefan wrote:

<snip />
i've got that... i see no problem in setting a border in every cell...

XSL-FO refers to CSS, not HTML, so the only way to mimic that
behaviour is to specify the borders on the table-cells.

but with border-collapse i could specify one border-with without
thinking about the position. now i've to check every cell and set a
different border-width to achieve an equal stroke over the whole table.

or do i totally misunderstood border-collapse?

Sorry, I was speaking about FOP in its current state (no complete support for border-collapse is implemented ATM).

You are right, in the sense that, in the separate border-model, there is no 'common' border between the table and the cells (or between two cells), but I think you can achieve the effect you need without having to specify a different border-width for each cell depending on its position...

Let's say you need a border of 1pt over the whole table (=every line in the grid needs to be 1pt wide), then you'd need to specify:
a) a border of 0.5pt for the table
b) borders of 0.5pt for the cells
c) border-separation="0pt" for the table (IIC, that's the default)

The total border-width of the common edges between table and cells becomes 1pt, as does the width of the common edges between cells.

In the collapsing border model, this would work without c), and you'd have to use 1pt instead of 0.5pt. (and you could also achieve the same by using borders on the rows and columns, which will have no effect in the separate model)


HTH!

Andreas


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

Reply via email to