Margins

Margin Element Behavior
Shared Margins Top and bottom margins on adjacent block elements are always shared.

Left and right margins on adjacent block elements are never shared. Instead, left and right margins are added together to determine the active margin between two adjacent elements.

Negative Margins In Pocket PC versions of the Reader, all negative margins are treated as equaling zero. In the Windows version of Reader, negative margin values are allowed for the right and left margins of a block element, but not for the top and bottom.

Top and bottom margin values that are either specified or negotiated to equal a negative value are treated as zero, instead.

Containment Model When one block element is contained inside another block element, the two elements share their top and bottom margins. The dimensions of the shared margin are determined by adding the largest positive margin value and the smallest negative margin value.

Unlike HTML, Reader does not render a negative vertical margin value shared by two block level elements. Therefore, if Reader calculates that a page has a negative margin value, it assigns a value of zero.

Annotations Zones Reader pages contain special areas around the outer edge of the page that are used for various control elements, such as icons representing the placement of annotations. These annotation zones cannot display content, regardless of negative left or right margins which may specify an overlap.

Margins that would potentially cause an overlap are truncated before overlapping the annotation zone. For more information about the sizes of each annotation zone, see Default System Fonts and Leading.

Note: The annotation zones do not accept background color.


© 2000 Microsoft Corporation. All rights reserved. Terms of use.