XSL Formatter Q&A
XSLT/XSL-FO/MathML TechnicsBlock |
|
| Q. | Is it possible to move the whole list-block to center or right side? [No.2003011002] |
|---|---|
| A. |
It's impossible. The position of list-block is decided according to indent. Therefore, you can't specify text-align to list-block. Please refer to '6.8 Formatting Objects for Lists' on the W3C Recommendation for XSL-FO. On the other hand, 16.2 Alignment: the 'text-align' property in the CSS2 Specification says that 'This property describes how inline content of a block is aligned'. Therefore this property doesn't describe how blocklevel object is aligned. For example if you specify as follows: <fo:block text-align="center"> <fo:list-block>… text-align is applied to the inline contents in the list-item-label and the list-item-body properties. |