Next in thread → Next in month →

Re: DOCBOOK-APPS: CSS Stylesheets

From
Bob Stayton <>
Date
2001-05-07T07:04:41+00:00
ID
Thread
Re: DOCBOOK-APPS: CSS Stylesheets
> From: Boris <>
> 
> 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: 
Next in thread → Next in month →