# Elementname: `Stylesheet`

## Description

Load a CSS file or define CSS rules

Allowed attributes: filename

Child elements: (none)

Parent elements: Include, Layout

### Attributes

filename (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.

## Example

    <Stylesheet filename="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

Using CSS with the speedata Publisher

# Commands

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- HSpace
- Hyphenation
- I
- Image
- Include
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- Sequence
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 2.8.1 | Start page | Command reference | Other language: German