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: Center a logo in the navigational header


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

The logo is aligned to the left and I 'd like it centered.

On http://www.dpawson.co.uk/docbook/styling/html.html#HtmlHeadersFooters
, I read [quote]If you want to rearrange the headers and footers
beyond these additions, you'll need to redefine the templates that the
stylesheet uses to generate the standard header and footer content.
Those templates are named header.navigation and

On Bob Stayton's s site I read [quote]The content of the template can
include IMG elements to reference a graphical logo, and any other HTML
content that makes sense. If you add class attributes, then you can
control the formatting with your CSS stylesheet.[/quote]

My question is; which method should be used and how do I manage it?

Thanks in advance,

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