- From: James Elmore <James.Elmore@cox.net>
- Date: Sat, 12 Jul 2008 14:00:23 -0700
- To: Håkon Wium Lie <howcome@opera.com>
- Cc: CSS <www-style@w3.org>
On Jul 11, 2008, at 3:03 PM, Håkon Wium Lie wrote: > 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? Thanks for the reference, very interesting. This may be part of what I am asking for, but not completely. This style allows the movement of items from one place to another within a document (or a page). With this, I could specify the element or contents that I wanted at the end of the chapter, but I still don't see how to use it to place that element at the end of a chapter or section. If this current discussion makes a clear way to specify styles or content for the :first page, I would like to propose the addition of :last page as well. Then it would be easy to incorporate the elements I suggested in my last email at the end of every section. To use your example, above, a reference work which includes shorter sections each by a different author, could start with the title and author on the :first page, and conclude with the author's name (and possibly contact information) at the end (on the :last page). > > -h&kon > Håkon Wium Lie CTO °þe®ª > howcome@opera.com http://people.opera.com/howcome </James>
Received on Saturday, 12 July 2008 21:01:04 UTC