[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Center a logo in the navigational header
> -----Original Message----- > From: Kalden Kalden > > I managed to add a logo above the navigational header in the chunked > HTML output using this code in my customized xsl sheet : > <xsl:template name="user.header.content"> > <IMG> > <xsl:attribute name="src">images/logo.png</xsl:attribute> > </IMG> > </xsl:template> > > The logo is aligned to the left and I 'd like it centered. <div class="centered"> <IMG> <xsl:attribute name="src">images/logo.png</xsl:attribute> </IMG> </div> together with the following rule in a CSS stylesheet: .centered {text-align: center} The name of the stylesheet is set with a parameter: http://docbook.sourceforge.net/release/xsl/1.71.0/doc/html/html.stylesheet.h tml /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]