Setting Margin and Padding properties
The Margin and Padding set lets you specify the space around the content area of an element.
To specify margins and padding: - Select a style in the CSS Editor and click the Margin and Padding set.
- Choose a unit of measurement and enter a numeric value in any of the Top, Right, Bottom, and Left Margin text boxes, or use the All Margins text box to specify the margin in all four directions at once.
You can decrease the spacing between surrounding elements by entering negative values, which causes two elements to overlap. Using the View palette while in the Layout Editor, select Allow Overlapping Paragraphs to simulate how items with negative margin values overlap adjacent items.
- In the Padding section, set the amount of space between the block border and the style item.
Choose a unit of measurement (percentage is recommended for better scalability), and then enter a number in any of the Top, Right, Bottom, and Left Padding text boxes. Or, to specify the spacing in all four directions at once, use the All Paddings text box.
|