[ZPT] page-break-after and zpt

Chris Meyers chris@hddesign.com
Fri, 3 May 2002 10:19:55 -0500


On Thu, May 02, 2002 at 04:35:33PM -0500, Chris Meyers wrote:
> Has anyone gotten the page-break-after or page-break-before css tags working with ZPT specifically in tal:repeat statements. The breaks show up in IE6 but with a huge amount of white space on the top of the first page and less on each subsequent page. In Netscape/Mozilla (NS6 & Moz RC1) on Windows or Linux the breaks either don't show up at all or if they do, they cut off everything after the first page. I have tried putting the page-break style in line and in my CSS file, but neither seems to work.
> 
> I had originally thought that page-break wasn't supported in Mozilla, but it works fine in a non-zpt non-zope environment. Anyone have any thoughts?
> 
> Thanks for any suggestions,
> Chris Meyers
> 

Ok I found out that this was a screw-up on my logic rather than anything to do with zpt. I was trying to put a page break at the end of a table, but that table was contained inside a <td> set up by my macro. You can't break inside of a table cell apparently.

Chris

> 
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt

-- 
Chris Meyers
7941 Tree Lane Suite 200
Madison WI 53717