Skip to content

StyleSheet

Load a CSS file or define CSS rules

Child elements

(none)

Parent elements

Layout, Section

Attributes

href (text, optional)
The filename of the CSS stylesheet including the file extension.

Remarks

If no filename is given, the speedata Publisher expects the CSS rules as the contents of this element.

Besides styling layout elements, the stylesheet can declare fonts (@font-face), colors (@-bag-color) and page margin boxes: an @page name { ... } rule belongs to the DefineMasterPage with the same name, see there.

Example

<StyleSheet href="style.css" />
<StyleSheet>
  frame {
    border-bottom-right-radius: 1cm;
    border-bottom-left-radius: 1cm;
    border-top-right-radius: 1cm;
    border-top-left-radius: 1cm;
  }
  box {
    background-color: red;
  }
</StyleSheet>

See also