W3C home > Mailing lists > Public > www-svg@w3.org > September 2000

Re: page breaks?

From: Francis Norton <francis@redrice.com>
Date: Tue, 19 Sep 2000 17:53:54 +0100
Message-ID: <39C79A22.4FBBECF0@redrice.com>
To: Chris Lilley <chris@w3.org>
CC: www-svg@w3.org
Thank you very much - a case of 'thinking outside the frame' required!

Francis.

Chris Lilley wrote:
> 
> Francis Norton wrote:
> >
> > Hello,
> >
> > I would be very interested to know how SVG documents intended for
> > print-only agents should indicate preferred page-breaks.
> 
> <mypagedML>
> <?xml-stylesheet href="foo.css" media="print" ?>
>  <page>
>   <svg /><!-- first page svg goes here
>  </page>
>  <page>
>   <svg /><!-- second page svg goes here
>  </page>
>  <!-- and so forth -->
> </mypagedML>
> 
> foo.css contains the one line CSS stylesheet
> 
> page { page-break-before: always }
> 
> or, if you want to get real fancy, add a second line
> 
> page > svg {width: 100% !important; height: 100% !important }
> 
> just to ensure that all the pictures fit onto the page. Obviously you can
> specify page margins, etc as usual.
> 
> --
> Chris

-- 
Francis Norton.

why not?
Received on Tuesday, 19 September 2000 12:52:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:48 GMT