1.7

Table Of Contents
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521.
Tip
Use a negative left margin to create a hanging paragraph or image.
Guides
Guides are horizontal and vertical lines used to help in designing templates, for example when
positioning absolute positions boxes over a PDF background. They can only be used in Print
sections.
l
Select View > Guides > Show guides to show or hide the guides and margins.
To add a guide, press the Insert Horizontal Guide or Insert Vertical Guide buttons on the
Toolbar.
To move a guide, click and drag it to a new location. Double-clicking the guide brings up its
Edit dialog where its exact position can be adjusted.
l
Select View > Guides > Lock guides to lock the guides in their current position.
l
Select View > Guides > Snap to guides to make Positioned Boxes (and any other
objects that have their position set to absolute) snap to guides when moved within a few
pixels of them.
To delete a guide, double-click on it and press the Delete button.
Using the CSS position property
An element can be positioned independently of the text flow by changing its position property
to absolute or to relative (to its parent).
When an element is placed inside another element, such as a Box, changing its position
property to absolute positions the element absolutely inside its 'parent'.
With the position property of an element set to absolute, the top or bottom and left or right
Page 503