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"/>
</xsl:template>
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" />
</head>
Since it comes after the stock links, it overrides their default CSS rules.
hth,
Denis
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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]