OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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">
      <xsl:attribute name="src">images/logo.png</xsl:attribute>

 together with the following rule in a CSS stylesheet: 

 .centered {text-align: center}

The name of the stylesheet is set with a parameter:


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]