- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Wed, 30 Nov 2005 09:18:45 -0800
- To: <www-style@w3.org>
----- Original Message -----
From: "Mikko Rantalainen" <mikko.rantalainen@peda.net>
>
> Håkon Wium Lie wrote:
>> Also sprach Lachlan Hunt:
>>
>> > > For example, the Table of Contents uses leaders and generated page >
>> > numbers:
>> > > > > Introduction...................12
>> > > HTML...........................15
>> > > I looked for documentation of the leader() function in Prince's >
>> documentation, but I couldn't find it mentioned anywhere. Is there any >
>> documentation for it?
>>
>> This is experimental stuff which could be changed on short notice so
>> it makes sens to not document it now. I believe, however, that this is
>> how it works:
>>
....
> Okay, the above sounds a bit like the description I've seen for the "%%"
> unit. What if the actual content, leaders and page numbers cannot fit on
> one line, do we get something ugly like
>
> A short title ............................. 1
> Another short title ....................... 5
> Here's an another title and this one isn't so
> short ..................................... 8
>
....
> How would one control the amount of free space on the right?
>
Speaking about %% units....
This could be done in various ways using them.
First and most obvious example is here:
http://terrainformatica.com/w3/tocfspu.jpg
css is:
.filler
{
border-bottom:1px dashed #000;
display:inline-block;
width:100%%;
}
li { margin:0.5em 0; }
html is:
<li>A short title<span class="filler" />1</li>
Andrew Fedoniouk.
http://terrainformatica.com
Received on Wednesday, 30 November 2005 17:19:01 UTC