W3C home > Mailing lists > Public > www-style@w3.org > August 2007

Re: [css3-gcpm] 3.2. Running elements

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 9 Aug 2007 11:32:11 +0200
Message-ID: <18106.57115.865846.77300@gargle.gargle.HOWL>
To: Steffen Goeldner <sgoeldner@cpan.org>
Cc: www-style@w3.org

Also sprach Steffen Goeldner:

 >    <http://www.w3.org/TR/2007/WD-css3-gcpm-20070504/#running1>
 > 
 > In the 2nd example seems to be a superfluous line:
 > 
 >    <h1 class="chapter">An introduction</div>

I've reworded the example to be:

<div class="example">
<p>In this example, the header is hidden from view in all media types
except print. On printed pages, the header is displayed top center on
all pages, except on the first page.

<pre>
&lt;style>
  div.header { display: none }
  @media print {
  div.header {
    display: block;
    position: running(header);
  }
  @page { @top-center { content: element(header, last-except) }}
&lt;/style>
&lt;body>
&lt;div class="header">Introduction&lt;/div>
...

</pre>
</div>

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Thursday, 9 August 2007 09:32:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT