[xep-support] vertical-align

David Tolpin dvd at renderx.com
Wed Apr 24 11:03:48 PDT 2002


> Under the vertical-align shorthand property it states that the
> vertical-align applies to inline-level and 'table cell' elements.  As you
> point out, the property maps to only inline properties:

It states that in *CSS2* it was meant to be used for inline-level and 'table cell' elements,
while in *XSL FO* it is  a shorthand that expands to
> 
> 	alignment-baseline
> 	alignment-adjust
> 	baseline-shift
> 	dominant-baseline
> 

And therefore no more directly changes behaviour of cell contents.

> 
> Second, is your answer telling us that the solution is to do something like
> this:
> 
> ...
> <fo:table-cell>
> 	<fo:block>
> 		<fo:inline-container alignment-baseline="before-edge">
> 			Test cell - aligned top and left
> 		</fo:inline>
> 	</fo:block>
> </fo:table-cell>
> ...
> 
> 
> Thanks for your help,
> Jim

The other way around. Use 'display-align' with table-cell elements.

David Tolpin
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list