W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2003

Center block within block?

From: Mark Lundquist <ml@wrinkledog.com>
Date: Sat, 26 Jul 2003 15:56:07 -0700
To: www-xsl-fo@w3.org
Message-Id: <57A1ADB4-BFBC-11D7-A5D0-000A95908E0E@wrinkledog.com>

I have a bad feeling that this will turn out to be something I can't 
do, but here goes... :-/

I have a block that needs to be centered within an enclosing block.  If 
I had any way of knowing what the width of the inner block was going to 
be, I could calculate start-indent and end-indent to "split the 
difference".  The trouble is, I don't know the width of the inner 
block, because it's dependent on content.

Thanks in advance for any help,
Mark Lundquist
Received on Saturday, 26 July 2003 18:56:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:58 UTC