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] Custom css with webhelp

If you have a custom xsl file, you can add a webhelp.head.content template for this purpose. For example: 

<xsl:template name="user.webhelp.head.content">
    <link rel="stylesheet" type="text/css" href="css/mystyles.css"/>

This template adds your content at the end of the html <head> element,
in this case a link to your CSS file: 

   <!----></script><script type="text/javascript" src="search/index-3.js">
   <!----></script><link rel="stylesheet" type="text/css" href="css/mystyles.css" />

 Since it comes after the stock links, it overrides their default CSS rules.


On 04/16/2013 09:04 AM, David Goss wrote:

> I want to use a custom CSS file with webhelp output. I'm using Oxygen. I set the html.stylesheet parameter and pointed it to a custom CSS file.
> In my output, however, the CSS is not linked. I only see one <link> for css in the output, which is for tocWDiv.css.
> Does the html.stylesheet parameter not work the way I'm expecting it to with webhelp?
> ---
> David Goss, M.A.
> Technical Writer, Laboratory Division
> Frontier Science & Technology Research Foundation
> 4033 Maple Road
> Amherst, NY 14226
> (716) 834-0900 x7218
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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