XFA Specification
Chapter 25, Rich Text Reference
Supported Paragraph Formatting
940
Produces:
This paragraph is spaced a half-inch away from the next paragraph.
This is a paragraph of text.
Space Before Paragraph
A paragraph of text may have additional preceding vertical space via the use of the
[CSS2]
margin-top
style attribute with a measurement.
Example:
<body>
<p>This is a paragraph of text.</p>
<p style="margin-top:0.5in">
This paragraph is spaced a half-inch away from the previous
paragraph.
</p>
</body>
Produces:
This is a paragraph of text.
This paragraph is spaced a half-inch away from the previous paragraph.
Vertical Alignment
A paragraph of text may be aligned vertically via the use of a
text-valign
style attribute which is a
non-standard extension to
[CSS2].
The supported alignments are limited to top, middle, and bottom.
Example:
<p style="text-valign:middle">
This is the first line of the paragraph.<br />
This is the second line of the paragraph.<br />
This is the last line of the paragraph.<br />
</p>
Produces:
This is the first line of the paragraph.
This is the second line of the paragraph.
This is the last line of the paragraph.
Home Index Bookmark Pages
Pages: Home Index All Pages