[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Customizing header alignment with image
Thanks Vincent! It really works :) I changed display-align for all columns in the header. Not sure if i could file a defect/ enhancement for docbook-xsl... Copying a big template to customize only alignment doesn't seem elegant. ~spr Vincent Hennebert-3 wrote: > > Hi, > > Sorry for the delay... > > Mauritz Jeanson wrote: >>> -----Original Message----- >>> From: spr >>> >>> This didn;t work either: >>> <xsl:attribute-set >>> name = "header.table.properties"> >>> <xsl:attribute >>> name = "table-layout">fixed</xsl:attribute> >>> <xsl:attribute >>> name = "width">100%</xsl:attribute> >>> <xsl:attribute >>> name = "background-color">yellow</xsl:attribute> >>> <xsl:attribute >>> name = "alignment-adjust">alphabetic</xsl:attribute> >>> <xsl:attribute >>> name = "display-align">after</xsl:attribute> >>> </xsl:attribute-set> >> >> >> When working with FOP, the compliance page is handy: >> http://xmlgraphics.apache.org/fop/compliance.html. >> >> According to that page, display-align is only partially implemented, >> which >> may explain why it did not work as you expected. > > This is not a FOP issue here. The display-align setting on the header > table is overriden by display-align="before" set on the table-cells. > This is hardcoded in the header.table template in pagesetup.xsl. > > Copy/paste this template in your customization layer, remove the > display-align setting for each table-cell in it, and then that should > work. Maybe DocBook customization wizards will have better > recommendations. > > HTH, > Vincent > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > -- View this message in context: http://www.nabble.com/Customizing-header-alignment-with-image-tf4570315.html#a13276630 Sent from the docbook apps mailing list archive at Nabble.com.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]