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

Re: [css3-multicol/...] Pagination of (block) elements needed in CSS

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 5 Nov 2012 13:53:01 -0800
Message-ID: <CAAWBYDCj4GRdz6hxEjYw9kiHZ5s_2OVa3UEaW701o4ETyZxS9g@mail.gmail.com>
To: Cedric.Sodhi@dlr.de
Cc: www-style list <www-style@w3.org>
CSS already defines pagination of arbitrary content, and has since at
least CSS 2.1.  The CSS Paged Media module
<http://dev.w3.org/csswg/css3-page/> offers additional controls, and
the Fragmentation Module <http://dev.w3.org/csswg/css3-break/>
generalizes the concept of a "page break" so much of the basic
page-break functionality can also be applied to elements breaking
across columns, etc.

Browsers don't implement pagination well, but everyone at least does
*basic* pagination more or less the same.

If you want to use HTML+CSS for publishing printed documents, you
might want to look into specialized CSS-based printing programs, such
as PrinceXML or WeasyPrint.  These have good implementations of the
pagination features, and sometimes additional abilities related to
printing that may be useful.

Received on Monday, 5 November 2012 21:53:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:23 UTC