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

Re: [css3-page] Idea for simplier page-margin boxes

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 4 Mar 2013 15:50:54 +0100
Message-ID: <20788.46286.926398.715625@gargle.gargle.HOWL>
To: Julian Viereck <julian.viereck@googlemail.com>
Cc: www-style@w3.org, "Robert O'Callahan" <robert@ocallahan.org>
Julian Viereck wrote:

 > Reading the current dev spec at [1] about page-margin boxes I dislike that
 > 1) the defined boxes are inflexible in the positioning on the page
 > 2) defining the content is limited to using the "content" property of CSS
 > In my use case, I want to
 > a) have some graphics that take up the entire background of the page box

  @page {
    background: ...

 > b) put a image and some text with different fonts/styles in the same 
 > page-margin box

Images you can do with:

  @page { { @top-center { 
    content: url(foo.png) }

Different font/styles in the same margin box cannot be achieved using
css3-page. However, GCPM specifies a way:



              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 4 March 2013 14:51:38 UTC

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