> -----Original Message-----
> From: Laura Mann [mailto:[EMAIL PROTECTED] 
> 
> Hi.  I need to use background color in blocks in cells in 
> rows in a table, and I need to see the overflowed body 
> content.  How can I do that?

Hi Laura,
You can use the background-color on fo:table-row, fo:table-cell, or
whatecer is nested in your fo:table-cell.

If you want different color on even/odd fo:table-row, you can use
following snippet:
<xsl:choose>
        <xsl:when test="position() mod 2">
                <xsl:attribute
name="background-color">red</xsl:attribute>
        </xsl:when>
        <xsl:otherwise>
                <xsl:attribute
name="background-color">green</xsl:attribute>
        </xsl:otherwise>
</xsl:choose>

For 2nd question (overflow), please be more precise (what does "body
content" means?).

I tried overflow property on fo:table-cell and its content, but FOP
behaves as if this property was set to "visible".

Pascal 

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

Reply via email to