[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Change the text color of header columns in table.
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 <bobs@sagehill.net> 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 > bobs@sagehill.net > > > ----- Original Message ----- > From: "Xuan Ngo" <xuanngolist@yahoo.ca> > To: "Docbook Appz" <docbook-apps@lists.oasis-open.org> > 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: docbook-apps-unsubscribe@lists.oasis-open.org > > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]