Re: [css2xslfo-support] Regions
Brought to you by:
wdonne
From: <wer...@re...> - 2005-05-24 15:03:54
|
Andreas, The page property on div.mybottom is set to "left" and you have only one page, which is at the right. If you remove the page property the bottom region will appear on both sides. If you want, for example, a different alignment for left and right pages, you can make two mybottoms and set the page property accordingly. Regards, Werner. Andreas Jung wrote: > Hello Werner, > > I am still fighting with some esoteric page formatting issues. I tried > the following > to put some text into the bottom region. However none of my renders > (Xinc, XFC) > output anything in the bottom region although the FO contains the text. > Any ideas? > > Andreas > > ---------- > > <html> > <head> > <style type="text/css"> > > @page > { > margin-top: 35mm; > } > > @page :left > { > margin-left: 15mm; > margin-right: 35mm; > } > > @page :right > { > margin-left: 35mm; > margin-right: 15mm; > } > > @media print { > div.mybottom { > region: bottom; > page: left; > height: 100pt; > display: none; > } > } > > </style> > > </head> > > <body> > <div class="mybottom"> > This should go to the bottom > </div> > > <div class="copyrightnotice"> > labber labber..... > </div> > </body> > </html> > > -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |