Re: Printing a Book with CSS

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 UTC