I'm trying to convert an HTML newsletter to PDF format. The HTML newsletter's format is something like this:
<table border="0"> <tr><td colspan="2"><img src="headerimage.png"/></td></tr> <tr><td bgcolor="#696969">Side column text here</td><td>Newsletter body text here</td></tr> </table> I started by trying to use tables in FOP, but the problem I ran into was that I kept getting gaps between the header image and the next table row. It didn't look good. So, I thought about using fo:block-container to position the header image absolutely at the top of the page and then use fo tables for the body. There's a problem with that, though. If the newsletter's body text takes up more than one PDF page, the fo table all gets moved to page 2 and the header image in the fo:block-container stays on page 1. Basically, I want a way to do gapless header graphics with no space between it and the next row, and I'd like to be able to make the body an arbitrary number of pages. The header image should always be at the top of the page, but the body text should be able to span across as many pages as it needs. Thanks for your help! Joseph Caporale -- View this message in context: http://www.nabble.com/Using-fo%3Ablock-container-and-tables-together-to-format-a-PDF-tf4694299.html#a13418239 Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
