[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Turning off table side borders
Hi Paul, The template named 'table.frame' is called after the table.table.properties attribute-set is applied. It processes the table @frame attribute to choose the table border style, and CALS defaults to 'all'. Since you are setting your own borders, you could just make table.frame an empty template in your customization to turn it off. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "paul_moloney" <paul_moloney@hotmail.com> To: <docbook-apps@lists.oasis-open.org> Sent: Wednesday, February 21, 2007 9:28 AM Subject: [docbook-apps] Turning off table side borders > > I've added the following to my customized layer (I realise it's overkill, > but > I'm not sure of the relationship between table.properties and > table.table.properties, or if table.cell.properties overrides them or is > overridden by them): > > <xsl:attribute-set name="table.table.properties"> > <xsl:attribute name="border-right-style">none</xsl:attribute> > <xsl:attribute name="border-right-width">0pt</xsl:attribute> > <xsl:attribute name="border-left-width">0pt</xsl:attribute> > <xsl:attribute name="border-left-style">none</xsl:attribute> > </xsl:attribute-set> > > <xsl:attribute-set name="table.cell.properties"> > <xsl:attribute name="border-right-style">none</xsl:attribute> > <xsl:attribute name="border-left-style">none</xsl:attribute> > <xsl:attribute name="border-right-width">0pt</xsl:attribute> > <xsl:attribute name="border-left-width">0pt</xsl:attribute> > </xsl:attribute-set> > > <xsl:attribute-set name="table.properties"> > <xsl:attribute name="border-right-style">none</xsl:attribute> > <xsl:attribute name="border-left-style">none</xsl:attribute> > <xsl:attribute name="border-right-width">0pt</xsl:attribute> > <xsl:attribute name="border-left-width">0pt</xsl:attribute> > </xsl:attribute-set> > > Overkill or not, in any case, in PDF output tables still has side > borders. > Can anyone tell me where I'm going wrong? > > Thanks, > > P. > -- > View this message in context: > http://www.nabble.com/Turning-off-table-side-borders-tf3268123.html#a9085239 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]