This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: FO questions about blocks in table-cells


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]