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

Re: Center block within block?

From: David Tolpin <dvd@renderx.com>
Date: Sun, 27 Jul 2003 20:40:11 +0500 (AMST)
Message-Id: <200307271540.h6RFeBnG090154@adat.davidashen.net>
To: gkholman@cranesoftwrights.com (G. Ken Holman)
Cc: www-xsl-fo@w3.org

> 
> However ... the one way I can give you what I think you are asking for is 
> to centre an auto-width table.  You have to rely on the auto-width 
> algorithm as implemented by the processor to not wrap your lines, but as I 
> said I think your line is probably short.
> 

For a single-line block, an inline in a block with text-aling="center"
will do exactly the same. No need for table-based layout. For a multi-line
block, I don't see how a table with table-layout="auto" can help.

David
Received on Sunday, 27 July 2003 11:40:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT