Re: [css3-gcpm] 3.2. Running elements

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 UTC