Re: [css2xslfo-support] page footer
Brought to you by:
wdonne
From: <wer...@re...> - 2005-06-23 07:54:07
|
Hi Min, You should put a "div" in the beginning of the document with the "region" property set to "bottom" and the "height" property to a value of your choice. Within the "div" you can put a "span", for example, for which you specify a span:before rule. In it, you use the "content" property with "counter(page)" as its value. Setting up static regions like that will only work if you also override the page definition with an @page rule. An example can be found at http://www.re.be/css2xslfo/1_0rc2/manual.html. Best regards, Werner. Min Li wrote: > Hi, Mr. Matthias Wessendorf, > > I'm using css2xslfo library to convert xhtml to fo then to pdf using > fop. I'm having trouble finding out the mapping between xhtml and fo to > get a footer at the bottom of a page. right now, the css.xsl defines a > default footer "page number" to the "xsl-region-after" part. If I want > to define my own footer, what tags should I use in xhtml file so that in > fo, my self-defined footer will fall into xsl-region-after automatically. > > Thanks in advance for your prompt reply. > > > Min > > ------------------------------------------------------------------------ > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD > > -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |