Re: [css3-gcpm] [css3-page] Named page lists

Also sprach James Elmore:

 > This is definitely off-topic, so I apologize for that, but this  
 > discussion had brought up a thought. (In my mind, it was probably  
 > lonely, so I wanted to pass it on to the group.)
 > 
 > Is there some way to place an element (image, content, footnote,  
 > etc.) at the END of a chapter? This discussion is about first page  
 > triggers -- what about last page triggers?

Generated Content for Paged Media [1] proposes a way to move content.
Consider this markup:

<contrib contrib-type="author">
  <name>
    <surname>Knuth</surname>
    <given-names>Donald E.</given-names>
  </name>
  <role>professor</role>
</contrib>

combined with this style sheet: 

  surname { float: to(lastname) }
  given-names::after { content: from(lastname) ", " }

will result in this presentation: 

  Donald E. Knuth, professor

[1] http://www.w3.org/TR/css3-gcpm/

Does this address your needs?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Friday, 11 July 2008 22:18:02 UTC