As in HTML, lists are bulleted or numbered. For the purposes of this description, however, the distinction between bulleted and numbered lists is not significant.
Bullets always appear relative to a pre-defined text position. Text is never re-positioned to accommodate a bullet. Positive text indentation has no affect on bullet positioning, because the bullet is positioned relative to the text box of the block element containing the text. If a text block has a negative text-indent
value, however, the bullet is repositioned to the left in order to accommodate the negative indentation.
As shown in the following diagram, bullet positioning takes into account two separate zones beyond the standard margin increase generated by the <ol>
or <ul>
tag to create the list block. One zone is the area where the bullet or number can appear, and the second zone is the space between the bullet zone and the beginning of the text. In Pocket PC versions of the Reader, the default value for the bullet zone is two em's, while the default value for the space between the bullet zone and the text is one en. In Windows versions of the Reader, the bullet zone equal 2.25 em and the space equals .75 em.
In the Pocket PC version of the Reader, bullets are positioned at the left side of the bullet zone. In the Windows version, bullets are positioned at the right edge of the bullet zone.
Normally, the <li>
tag, which creates a list item, does not increase the active margin. It is assumed that the <ul>
, <dl>
or <ol>
tag, which creates the list block, generates the appropriate margin. However, if the block level tag is omitted, the <li>
tag increases the list item margin. In Pocket PC versions of the Reader, the standard margin increase for a list item equals a paragraph indentation. In the Windows version of the Reader, it equals two paragraph indentations.
Make sure that all text in a list block is preceded by the <li>
tag. While browsers tend to place such text blocks within the list block's active area, Reader aligns such text alongside the left edge of the active area of the containing block.
© 2000 Microsoft Corporation. All rights reserved. Terms of use.