[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: (FO) Baseline alignment in lists
At 2008-05-06 14:25 +1000, Deborah Pickett wrote:
I am trying to work out whether my markup is wrong, or if the FO processors I use don't support it, or if I have misinterpreted the spec. I believe you need relative-align="baseline". <fo:list-item-label end-indent="label-end()"> <fo:block>1</fo:block> </fo:list-item-label> <fo:list-item-body start-indent="body-start()"> <fo:block> <fo:inline>Some text with a <fo:external-graphic src="url(large.png)"/> inline image </fo:inline> </fo:block> </fo:list-item-body> </fo:list-item> I note in 7.31.22 that XSL-FO interprets vertical-align= as a shorthand for a number of properties, none of which are relative-align=. In my work I've found relative-align= accomplishes what I need in this regard, both with lists and with table cells ... without which fonts smaller than the lines of the "other" parts will appear to be superscripted. Note the initial value of relative-align= is the before edge, which "pulls up" the smaller font. I hope this helps. . . . . . . . . . . . . . Ken
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|