2018.2

Table Of Contents
How to position elements
To position elements in relation to each other in a template, you can wrap those elements in a
Table or Box (see "Table" on page636 and "Boxes" on page598), and/or use the Spacing
property of the elements. The Spacing property can also be used to indent elements or create a
hanging paragraph or image; see "Spacing" on page686.
Aligning objects with an absolute position is easy with the Alignment buttons. Guides help to
align elements as well; see "Aligning objects" on the next page.
The top, right, bottom, and left properties specify offsets from the edges of the element's
containing block.
Where to use Tables and Boxes
Tables, Positioned Boxes and Inline Boxes can help position elements in relation to other
elements. It depends on the context which element is best to use.
In the Email context, Tables are the most reliable way to position text and images; see
"Designing an Email template" on page437 and "Table" on page636.
In the Web context, Inline Boxes are the preferred way to position elements; see "Boxes" on
page598. Tables should only be used to display data in a tabular format, not to position text
and images. Tables used in web pages to position elements (and often, Positioned Boxes)
make those pages less accessible to users with disabilities and to viewers using smaller
devices.
In the Print context, Tables can be used to position elements, as well as both types of Boxes;
see "Table" on page636 and "Boxes" on page598.
Spacing
Boxes, tables, paragraphs and many other elements have a margin and padding.
The margin is the white space around an element, outside the border. It is used to position an
element in relation to the other elements, by putting more space between the element and its
surrounding elements.
The padding is the space between an element's content and its border. It is used to position the
content of the element inside the border.
To learn how to set an element's spacing properties, see "Spacing" on page686.
Page 662