W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: Calling for a massive revamp of Paged Media and GCPM

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Mon, 14 Jan 2013 21:16:52 +0100
Message-ID: <50F467B4.9000204@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>
On 14/01/13 21:03, Håkon Wium Lie wrote:

> So, what would you code like for the example in question?

title {
   flow-into: header-flow;
}

@page {
   @slot header {
     flow-from: header-flow;
     position: absolute;
     top: 0px;
     left: 0px;
     right: 0px;
     wrap-flow: clear;
   }
}

Want to place that elsewhere, *anywhere* in the page ? Just change
the position properties. Again, anywhere in the page, not only in
the 16 margin boxes. You want main content to flow around a header
that does not take all width? Wrap-flow lets you control that easily.

Super-powerful, easy to read, simple to modify and maintain.

</Daniel>
Received on Monday, 14 January 2013 20:17:20 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT