W3C home > Mailing lists > Public > www-style@w3.org > November 2005

Re: Printing a Book with CSS

From: Simon Pieters <zcorpan@hotmail.com>
Date: Wed, 30 Nov 2005 16:25:50 +0000
Message-ID: <BAY109-F27BE45934B6A528089A537B44A0@phx.gbl>
To: P.Taylor@Rhul.Ac.Uk
Cc: www-style@w3.org

Hi,

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
>Better still would be to indent continuation lines, as in
>
>   A short title ............................. 1
>   Another short title ....................... 5
>   Here's an another title and this one
>       isn't so short ........................ 8
>
>thereby making it clearer to the reader which lines
>are primary and which subsidiary.

I think this could be done with the following rule:

ul.toc > li { padding-left:3em; text-indent:-3em; }

Regards,
Simon Pieters
Received on Wednesday, 30 November 2005 16:25:56 GMT

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