Monday, May 21, 2012

How to setup a 3-column layout using pisa xhtml2pdf

I have a list of items that I want to layout in three columns. The list is pretty long (using a 3-column layout might take 5 pages). The conditions are as follows:




  1. The first page has a header that is about 200px in height and 100% in width. After the heading in the first page, the page should start displaying the list in 3-columns.

  2. "Middle and last" pages dont contain any header.

  3. Last page contains an image.



I tried to give a margin-top for the second and third frames, the first page looks right but the "middle" pages don't. The margin-top gets applied to all pages.



Help will be appreciated.





No comments:

Post a Comment