[whatwg] HTML 5 should include a way to create custom page header & footer for printing.
Tab Atkins Jr.
jackalmage at gmail.com
Mon Oct 15 09:52:36 PDT 2012
On Sun, Oct 14, 2012 at 12:10 AM, Mircea LUTIC <mircea_lutic at 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
More information about the whatwg
mailing list