This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: CSS Stylesheets
- To: docbook-apps at lists dot oasis-open dot org, koester at x-itec dot de
- Subject: Re: DOCBOOK-APPS: CSS Stylesheets
- From: Bob Stayton <bobs at sco dot COM>
- Date: Mon, 07 May 2001 00:03:04 -0700 (PDT)
> 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
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org