This is the mail archive of the mailing list .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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">

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

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]