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] Styling HTML output with built-in CSS


> -----Original Message-----
> From: Zbyszek Cybulski 
> 
> I need to create a self-contained HTML output styled with CSS. It is
> easy to style HTML with a linked CSS but, for me, this is not a
> solution. The output must be a single file with built-in styles, best
> if placed in the <HEAD> element, worst as the inline styling.
> 
> Is there any way to accomplish this requirement? Or do I have to tweak
> the (X)HTML output with the next XSL transformation to incorporate the
> styling in the document <HEAD>?


You can add content to the <head> element by customizing the
"system.head.content" template or the "user.head.content" template in
(x)html/docbook.xsl.

See http://www.sagehill.net/docbookxsl/HtmlHead.html

/MJ




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