W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Summary

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Wed, 16 Aug 2006 01:16:00 -0700
To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: Andrés <adelfino@gmail.com>, www-style@w3.org
Message-id: <001101c6c10c$35ce5200$3401a8c0@TERRA>


----- Original Message ----- 
From: "Philip TAYLOR" <P.Taylor@Rhul.Ac.Uk>
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: "Andrés" <adelfino@gmail.com>; <www-style@w3.org>
Sent: Wednesday, August 16, 2006 12:47 AM
Subject: Re: Summary


>
>
>
> Daniel Glazman wrote:
>
>> And they almost never use ::last-line.
>
> Almost, but not never.  When a dot-fill leader is needed
> to separate a multiline entry from (e.g., ) a page number,
> ::last-line is definitely needed.  Even if the leaders
> are invisible, it is the last line that "leads" to the
> page number (or whatever), and to emphasise that and
> to guide the reader, it may be further indented as in
> the example (ASCII art) I posted earlier.
>
> Philip Taylor
>

Just cannot resist but this is again about flex units (%% or just *) :)

Here is an example of how I am doing that dots:

<li>text text text<span class="dots" /><span class="n">n<span/></li>
where span.dots defined as :

span.dots
{
   display: inline-block;
   border-bottom:1px dotted black;
   width: 1*;     /* see 'relative units' in HTML 4.01 */
}

Such span.dots behave as a spring shifting span.n
to the right.

This is the right way of how to do them.
last-line will not help you here as it in typography
it historically renders as real dot filler:

1. text text text.........................................12



Andrew Fedoniouk.
http://terrainformatica.com
Received on Wednesday, 16 August 2006 08:16:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT