W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: HTML 5 should include a way to create custom page header & footer for printing.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 15 Oct 2012 09:52:36 -0700
Message-ID: <CAAWBYDA2v2DkjUTiN4h94k2m91nvLr_6Ca7rjGNB_rpRbt3G-w@mail.gmail.com>
To: Mircea LUTIC <mircea_lutic@yahoo.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>, "whatwg@whatwg.org" <whatwg@whatwg.org>
On Sun, Oct 14, 2012 at 12:10 AM, Mircea LUTIC <mircea_lutic@yahoo.com> wrote:
> HTML 5 should include a way to create custom page header & footer for
> printing.
> These should allow to include images
>
> I think it should be something like
> <html>
> <head>
>   <title><img src="logo.svg"/>My company software<br/>The best software on
> the  planet</title>
> </head>
> <body>
> ...

This is not an HTML issue, but rather a CSS one.  And luckily, this
issue is already addressed:
<http://dev.w3.org/csswg/css3-page/#populating-margin-boxes>

I don't *think* this has been implemented in browsers yet, but it has
been in several HTML+CSS-based printing programs, like PrinceXML or
WeasyPrint.

~TJ
Received on Monday, 15 October 2012 16:53:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:55 GMT