W3C home > Mailing lists > Public > www-style@w3.org > July 2008

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

From: Håkon Wium Lie <howcome@opera.com>
Date: Sat, 12 Jul 2008 00:03:01 +0200
Message-ID: <18551.55445.564172.709683@opera.com>
To: James Elmore <James.Elmore@cox.net>
Cc: CSS <www-style@w3.org>

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">
    <given-names>Donald E.</given-names>

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 Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Friday, 11 July 2008 22:18:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:38 UTC