[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Center a logo in the navigational header
Hello, 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. 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 footer.navigation.[/quote] 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, Kalden
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]