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

Re: Printing a Book with CSS

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 30 Nov 2005 12:55:41 +0100
Message-ID: <17293.37693.150296.94656@localhost.localdomain>
To: Mikko Rantalainen <mikko.rantalainen@peda.net>
Cc: www-style@w3.org

Also sprach Mikko Rantalainen:

 > 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
 > 
 > 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
 > 
 > How would one control the amount of free space on the right?

You could do this by specifying a longer string:

   leader('........')

The string has to be shown at least once (we're making the rules here)
so if it doesn't fit on the line, it will be moved down. 

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 30 November 2005 11:55:53 GMT

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