xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Problem with vertical align of a list-item-label
Date Tue, 09 Feb 2010 15:48:06 GMT
What FOP version do you use?
--Pascal

Mario Madunic a écrit :
> Thanks Pascal for the info, but alas I've moved on to using a graphic (no *align* necessary),
straight-forward and it works. I tried many different options and followed instructions not
only mentioned here but from FO info on the web. None of it seemed to work how I expected
it to.
>
> Marijan (Mario) Madunic
>
> -----Original Message-----
> From: Pascal Sancho [mailto:pascal.sancho@takoma.fr] 
>
> Mario,
>
> rather than keywords, you can set your property with a <length> or a
> <percentage>, witch should give more accurate result.
>
> Also note that vertical-align is a shorthand for (alignment-baseline,
> alignment-adjust, baseline-shift, and dominant-baseline).
> Setting a <length> value to vertical-align is equivalent to setting it
> to baseline-shift.
>
> In addition, the REC XSL-FO says, regarding the baseline-shift property:
> "Using the "alignment-adjust" property is more suitable for positioning
> objects, such as graphics, that have no internal textual structure"
>
> You should follow it, this should help you.
>
> Pascal
>
>
> Mario Madunic a écrit :
>   
>> Well baseline-shift was as successful as vertical-align, so not very. Decided to
go with the old standby, "when all else fails, use a graphic".
>>
>> Thanks for all your help and insight into this one.
>>
>> Marijan (Mario) Madunic
>>     


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message