2020.1

Table Of Contents
General
These attributes are common to all elements in the template and will always appear.
l
ID: A unique identifier for the selected element. Used for CSS selections (see "Styling
templates with CSS files" on page284) as well as scripts (see "Writing your own scripts"
on page377) affecting single elements.
l
Class: One or more classes that can be common to more than one elements. Used for
CSS selections and scripts that can affect multiple elements.
Note
Do not give an element the ID 'pages' or the class name 'dynamic'. These are reserved words. Using
them as an ID or class name leads to undesirable effects.
Other
These attributes are available depending on the item selected.
l
Allow Resizing: Allows columns in a table to be resized directly within the Workspace in
Design mode.
l
Alternate text: The "Alt" text used when hovering over the image in a browser. Also used
for accessibility.
l
Cellspacing: Defines the cellspacing attribute of the table which controls the spacing
between cells in the table.
l
Cellpadding: Defines the cellpadding attribute of the table which controls the padding
inside each cell of the table.
l
Source: The location of the image file. For image resources in the template, the image
path is often images/<imagefile>.<extension>
When the source is a PDF, an addition button appears next to this box that opens the
"Select Image dialog" on page512.
l
Sum: Adds a running total (i.e. a subtotal) to a cell in a Dynamic Table. See Adding
subtotals and transport lines.
l
Type (form input element): Use the drop-down to select an input type. The drop-down
lists all input types, including HTML5 input types (see
https://www.w3schools.com/html/html_form_input_types.asp).
Page 545