Thx Bob.

To those who have the same problem,
here is what I put in the customization layer so that the header row have black 
background and
white color characters(No longer need to add PI(<?dbhtml bgcolor="#000000"?>)):

<xsl:template name="table.row.properties">
    <xsl:if test="ancestor::thead">
        <xsl:attribute name="font-weight">bold</xsl:attribute>
        <xsl:attribute name="color">#FFFFFF</xsl:attribute><!-- White -->
        <xsl:attribute name="background-color">#000000</xsl:attribute><!-- 
Black -->
    </xsl:if>
</xsl:template>

Xuan.

--- Bob Stayton <[EMAIL PROTECTED]> wrote:

> Hi,
> You need to customize the template named "table.cell.block.properites" (it 
> is a template, not an attribute-set), testing for ancestor::thead.  See the 
> example here:
> 
> http://www.sagehill.net/docbookxsl/PrintTableStyles.html#table.cell.block.properties
> 
> You want to set a "color" attribute to "white" or "#FFFFFF".
> 
> Bob Stayton
> Sagehill Enterprises
> [EMAIL PROTECTED]
> 
> 
> ----- Original Message ----- 
> From: "Xuan Ngo" <[EMAIL PROTECTED]>
> To: "Docbook Appz" <[email protected]>
> Sent: Thursday, January 17, 2008 11:21 AM
> Subject: [docbook-apps] Change the text color of header columns in table.
> 
> 
> > How to change the text color of header columns in table?
> > I set the background color of columns header in table to black by adding 
> > <?dbhtml
> > bgcolor="#000000"?> under <row> tag. Now I want to change header text to 
> > white so they can be
> > seen.
> >
> > I'm using FOP v0.94 and DocBook v1.73.2
> >
> >
> >      Looking for the perfect gift? Give the gift of Flickr!
> >
> > http://www.flickr.com/gift/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



      Connect with friends from any web browser - no download required. Try the 
new Yahoo! Canada Messenger for the Web BETA at 
http://ca.messenger.yahoo.com/webmessengerpromo.php


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

Reply via email to