4. css
Prev | Chapter 7. Configuration elements | Next

## 4. css

    <css
      name = non empty token
      location = anyURI
      alternate = boolean : false
    />

Add CSS style sheet named `name`, contained in file `location`, to the Style menu.

Any style sheet with `alternate="false"` is used preferably to a style sheet with `alternate="true"` to render a newly opened document.

Note that if a document contains `<?xml-stylesheet type="text/css"?>` processing instructions, by default (there is an XXE option to specify this) the style sheets specified this way are used and the style sheets specified in the configuration file are ignored.

Specifying a `css` element without a location may be used to remove `css` element with the same name from the configuration.

Example:

      <css name="XHTML" location="css/xhtml-form.css" />
      <css name="XHTML (form elements not styled)"
           location="css/xhtml.css" alternate="true" />

Prev | Up | Next
3. configuration | Home | 5. DTD