On Thu, Dec 06, 2001 at 11:19:22AM -0800, Meilicke, Scott wrote:
1. From the help that comes with zope:
Creating alternate colored table cells: <table>
<dtml-in objectValues>
<tr <dtml-if sequence-odd>bgcolor="#EEEEEE"
<dtml-else>bgcolor="#FFFFFF"
</dtml-if>
<td><dtml-var title></td>
</tr>
</dtml-in>
</table>
This will make it display correctly, but not necessarily print correctly. Printing is a browser setup issue. Some browsers simply do not support it. Opera, Konqueror, and purportedly some versions of MSIE will, but only at the cost of printing ALL backgrounds. I don't know about mozilla? I think netscape will not. Purely a client side issue.
2. Sorry, can't help you here. Sounds like you need a page break, and I don't think HTML has this.
In fact, there are elements of HTML 4 that do exactly what is desired; THEAD and TFOOT. I just don't know of any browsers that properly handle them, not even Opera. THEAD and TFOOT would also be vastly useful even on screen. It would make it possible to get rid of most FRAMEsets, and make bookmarks work again. Also, it would be really, really nice if every browser vendor would correctly implement Access Keys. Heck, it might even be nice if any vendor would! Jim Penny
-Scott
-----Original Message----- From: Paul Zwarts [mailto:redfred5@hotmail.com] Sent: Thursday, December 06, 2001 11:08 AM To: zope@zope.org Subject: [Zope] Printing HTML
Hi all,
I'm dearly sorry that this is html. I cant send email except through hotmail, but I need some advice....
I'm creating large variable sized tables and I need to try and solve two problems. These tables are printed out and I want the following from the HTML:
1) To be able to print the bgcolor of the table cell. Using <dtml-if sequence-even> and such to alternately color the rows. I want this to show in the print as well
2) To be able to tell the printer to have the column head at the top of each printed page.
Are these things even remotley possible in HTML from zope? Perhaps I need to be exporting the html into Excel where it is formatted more to do this?
Thanks much for any advice,
Paul Zwarts
_____
Get your FREE download of MSN Explorer at http://explorer.msn.com <http://go.msn.com/bql/hmtag_itl_EN.asp> _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
The information contained in this email message may be privileged and is confidential information intended only for the use of the recipient or any employee or agent responsible for delivering it to the intended recipient. Any unauthorized use, distribution or copying of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately and destroy the original message and all attachments from your electronic files.