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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: CSS Stylesheets


> From: Boris <koester@x-itec.de>
> 
> Hello,
> 
> sorry for this really stupid question, i hope no one kills me.
> 
> But.. how to apply a css stylesheet into an sgml document so that the
> stylesheet is loaded on the html output?

If I understand your question, you want to know how to
associate a CSS stylesheet with the HTML output.
That is done with these two directives in DocBook DSSSL:

(define %stylesheet% "yourstylesheet.css")   
(define %stylesheet-type% "text/css")       

This is done in a customization driver file for
the DSSSL stylesheets, as described in the documentation.

These directives will insert this into each HTML file:

<LINK REL="STYLESHEET" TYPE="text/css" HREF="yourstylesheet.css">

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera Systems, Inc.                       fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC