Re: [css2xslfo-support] Using page regions
Brought to you by:
wdonne
From: <wer...@re...> - 2005-12-07 15:05:32
|
Hi Andreas, You should use the "region" attribute, because it doesn't exist in HTML. Instead you should specify the region property for the elements. In this case you can replace for example region="top" with style="region: top" This is a small CSS fragment on the element. You should also set the body region on the "body" element. You can ommit this, because it is already done in the User Agent style sheet. Best regards, Werner. Andreas Jung wrote: > Hi, > > I tried the following HTML to figure out how page regions work with the > V 1.2 however I can not see the text appearing within the regions after > converting the FO file to PDF using Xinc. Is there something I am missing? > > Thanks, > Andreas > > > ---- > > <?xml version="1.0"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> > <body> > <div region="top"> > top > </div> > > <div region="left"> > left > </div> > > <div region="right"> > left > </div> > > > <div region="bottom"> > bottom > </div> > > <div region="body"> > <h1>§ 19 Automatisierte Einzelentscheidungen</h1> > <p>Entscheidungen, die zu einer tatsächlichen oder rechtlichen > Satz 1 für Entscheidungen verwendet werden, wenn</p> > </div> > > </body> > </html >> -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |