[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Modify chapter.titlepage
Well, if FOP won't do it correctly, then fake it! Adding a matching color border top and bottom seems to work in FOP: <xsl:attribute-set name="component.title.properties"> <xsl:attribute name="border-left">30pt solid blue</xsl:attribute> <xsl:attribute name="border-top">1pt solid #A09A98</xsl:attribute> <xsl:attribute name="border-bottom">1pt solid #A09A98</xsl:attribute> <xsl:attribute name="color">white</xsl:attribute> <xsl:attribute name="background-color">#A09A98</xsl:attribute> <xsl:attribute name="padding-left">5pt</xsl:attribute> <xsl:attribute name="padding-top">5pt</xsl:attribute> <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/> + 35pt</xsl:attribute> </xsl:attribute-set> Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Marco Baumgartl" <Marco_Baumgartl@yahoo.de> To: <docbook-apps@lists.oasis-open.org> Sent: Wednesday, March 09, 2005 2:06 AM Subject: Re: [docbook-apps] Modify chapter.titlepage > Bob Stayton wrote: > > > I'm not sure what you tried, but the following works for me in FOP, XEP, and > > XSL Formatter to place a blue color block next to the component title: > > > > <xsl:attribute-set name="component.title.properties"> > > <xsl:attribute name="border-left">30pt solid blue</xsl:attribute> > > <xsl:attribute name="padding-left">5pt</xsl:attribute> > > <xsl:attribute name="padding-top">5pt</xsl:attribute> > > <xsl:attribute name="start-indent"><xsl:value-of > > select="$title.margin.left"/> + 35pt</xsl:attribute> > > </xsl:attribute-set> > > Thanks Bob! > > I saw your mail after I've sent my last mail to the list. > > Your solution is better, because you take care for the title.margin.left > value. But the problem (as described in my last mail) is still present, > if I set a background-color :-( > > > regards > Marco > > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]