- From: Bert Bos <bert@w3.org>
- Date: Wed, 30 Nov 2005 21:17:41 +0100
- To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
- Cc: Mikko Rantalainen <mikko.rantalainen@peda.net>, www-style@w3.org
On Wed, Nov 30, 2005 at 11:39:18AM +0000, Philip TAYLOR wrote: > Mikko Rantalainen wrote: > > [snip] > > > > > I think it should be rendered more like > > > > A short title ............................. 1 > > Another short title ....................... 5 > > Here's an another title and this one > > isn't so short ............................ 8 > > 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. Assuming that each line in this ToC is an LI, the indent can be done with LI { text-indent: 2em hanging } I would say that one of the rules for leaders is also that a broken line should not start with leaders: if possible, the line break should occur before a word, not before a leader. I haven't thought about properties for controlling the "indent" at the end of the line before the line break. My idea is that it isn't needed. If you want a visually separated columns of titles and page numbers, use tables instead. (Another idea we have thought about is something more like tab stops. In that idea, the element containing the page number would have a 'tab' property that says where on the line it starts and if it has leaders. But 'leaders()' avoids a new property...) Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos W3C/ERCIM bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Wednesday, 30 November 2005 20:17:50 UTC