Heya, folks.
Quick question: has anyone had figured out how to vertically centre an inline element of arbitrary dimensions within an absolutely positioned containing block element? I couldn't manage it with 5.x, but I'm hoping (perhaps optimistically) that 6.0 might offer a viable solution.
I've already tried the old browser-based trick of setting the containing block's display type to "table-cell" and using "vertical-align: middle", but Prince doesn't react to that the same way a web browser does.
(Just as a point of clarification, the inline element is of unpredictable length, and may contain linebreaks, so setting fixed padding values or what-have-you is probably out.)
Thanks,
-David Prokopetz.
Quick question: has anyone had figured out how to vertically centre an inline element of arbitrary dimensions within an absolutely positioned containing block element? I couldn't manage it with 5.x, but I'm hoping (perhaps optimistically) that 6.0 might offer a viable solution.
I've already tried the old browser-based trick of setting the containing block's display type to "table-cell" and using "vertical-align: middle", but Prince doesn't react to that the same way a web browser does.
(Just as a point of clarification, the inline element is of unpredictable length, and may contain linebreaks, so setting fixed padding values or what-have-you is probably out.)
Thanks,
-David Prokopetz.