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

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 UTC