Procedure:
Copy one of the following files depending on which configuration you want to customize:
Configuration Name | Procedure |
---|---|
DocBook v5+ | Copy docbook5.css to |
DocBook | Copy docbook.css to |
XHTML Strict XHTML Transitional | Copy xhtml.css to |
For example, xhtml.css
looks like this:
@import url(xxe-config:xhtml/css/xhtml.css);
Edit this file using a text editor and add one or more CSS rules after the @import
directive.
XHTML example:
p { color: red; }
DocBook, DocBook v5+ example:
para { color: red; }
Check your CSS file using the csscheck command-line utility. This utility is found in
. Example:XXE_install_dir
/bin/
$ /opt/xxe/bin/csscheck stylesheet1.css
Let's suppose this file is called stylesheet1.css
and that you want your style sheet to be listed in the menu as "Style sheet #1
".
Add the following css configuration element to your custom .xxe
file:
<css name="Style sheet #1" location="stylesheet1.css" alternate="true" />
If you want to make your custom CSS style sheet the default one, add the following windowLayout configuration element:
<windowLayout> <center css="Style sheet #1" /> </windowLayout>