Elementname: Span

CSS name: span

Description

Surround text by styling options.

Allowed attributes: background-color, background-padding-bottom, background-padding-top, class, id, letter-spacing

Child elements: A, Action, B, Br, Color, Fontface, ForAll, Frame, HSpace, I, Image, Loop, NoBreak, Span, Sub, Sup, Switch, U, URL, Value

Parent elements: B, Case, Color, Fontface, ForAll, I, Li, Loop, NoBreak, Otherwise, Paragraph, Span, U, URL, Until, While

Attributes

background-color (text, optional, CSS property: background-color)

The background color of the content

background-padding-bottom (length, optional, CSS property: background-padding-bottom)

The bottom padding of the background color (can be negative)

background-padding-top (length, optional, CSS property: background-padding-top)

The top padding of the background color (can be negative)

class (text, optional)

CSS class for this element.

id (text, optional)

CSS id for this element.

letter-spacing (length, optional, CSS property: letter-spacing, since version 3.5.2)

Increase spacing between glyphs.

Example

<Stylesheet>
  .green { background-color: lightgreen; }
</Stylesheet>

<Record element="data">
  <PlaceObject>
    <Textblock>
      <Paragraph>
        <Span class="green"><Value>green</Value></Span>
      </Paragraph>
    </Textblock>
  </PlaceObject>
</Record>

Commands

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