[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Customizing header alignment with image
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]