AH Formatter /
XSL Formatter
XSLT/XSL-FO/MathML TechnicsTable |
|
| Q. |
The margin is specified for fo:block, and, in addition, margin is specified for the child's fo:table. However, margin of parents' fo:block doesn't influence fo:table. Why?
[No.2004032508]
|
|---|---|
| A. |
For expample, <fo:block margin-left="1in"> <fo:table margin-left="0.75in"> the W3C Recommendation for XSL-FO says as follows: 5.3.2. Margin, Space, and Indent Properties If the corresponding absolute "margin" property is specified on the
formatting object and the formatting object generates a reference area the
computed value of the margin is used to calculate the computed value of the
corresponding "Y-indent" property, where Y is either "start" or "end". The
formulae for "start-indent" and "end-indent" are":
<fo:table margin-left="from-parent() + 0.75in"> |