AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML テクニック

ブロック

トップ
基本・一般
AH Formatter について
XSL Formatter について
操作方法
プログラミング
XSLT/XSL-FO/SVG/MathML 仕様について
XSLT/XSL-FO/MathML テクニック
索引
Q.  list-blockごとcenterやrightに移動させることはできますか。 [No.2003011002]
A. 

これはできません。
list-blockの位置はW3CのXSL-FO仕様の勧告6.8 Formatting Objects for Lists に記述されているように、indentで決定されますので、list-blockにtext-alignの指定はできません。
そして text-align は、CSS2仕様16.2 Alignment: the 'text-align' property に、'This property describes how inline content of a block is aligned. 'と記述されています。
したがって、含まれたblocklevel objectの整列をするものではありません。
例えば、

<fo:block text-align="center">
<fo:list-block>…

と、指定しても、text-alignが適用されるのは、list-item-labelとlist-item-bodyの中のinline contentsになります。


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.