[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: FO questions about blocks in table-cells

Subject: RE: FO questions about blocks in table-cells
From: Gustaf Liljegren <gustaf.liljegren@xxxxxx>
Date: Wed, 12 Jun 2002 19:37:19 +0200
align to the bottom
Thanks Dave. I was unclear in my post. Here are the questions again, better
explained.

The first thing I need to know is how to align a block to the bottom in a
cell. I have a cell that's always exactly 60pt in height, containing two
blocks: A and B. The sum of the height of these blocks are less than 60pt,
and I want B aligned to the bottom, like this:

+-----------+
|+---------+|
||    A    ||
|+---------+|
|           |
|           |
|+---------+|
||    B    ||
|+---------+|
+-----------+

Sometimes, there is no A, and I still want B align to the bottom:

+-----------+
|           |
|           |
|           |
|           |
|           |
|+---------+|
||    B    ||
|+---------+|
+-----------+

So I need a property on the B block that says it will be vertically aligned
to the bottom. Sounds like a simple task, but I can't find such a propoerty.

The other question is whether my background color around the character
shows the actual glyph size, or if there's more space added, like
line-height. Your border example and my background gives the same result,
and I suspect the vertical space shown around the character is more than
the glyph itself uses. Therefore, I also wonder if there's a way to set the
line-height to the height of the character itself?

Again, the output I get is this:

http://www.xml.se/temp/xsl/char1.pdf

The source is here:

http://www.xml.se/temp/xsl/char1.fo

Gustaf


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.