CSS has a page break property to do this.

http://www.codeave.com/css/code.asp?u_log=4016 has a nice sample.

http://www.w3.org/TR/REC-CSS2/page.html#page-breaks has all the dirty details.

J.

On 30/07/2004, at 12:36 PM, <[EMAIL PROTECTED]> wrote:

Right, but how can you format this so that it prints out
nicely without a row or rows being truncated by the margin at
the bottom/top of a page boundary. The .css stylesheet seems
to be the way to go, but I have never used them.


---- Original message ----
Date: Thu, 29 Jul 2004 20:04:44 -0600
From: "Troy Sosamon" <[EMAIL PROTECTED]>
Subject: RE: Witango-Talk: Formatting HTML Output
To: <[EMAIL PROTECTED]>

Take a look at help for @rows @cols @col.
I would do it like this with your result set.

I replaced the opening angles brackets with square ones so
the e-mail will
display the html.

[Table> -- start the table
[EMAIL PROTECTED]> -- loop through the rows from your result set
[tr> -- start the row
[EMAIL PROTECTED]> -- loop through the columns
[td>[EMAIL PROTECTED]>[/td> -- put each column in a td
[/@cols>
[/tr>
[/@rows>


This will put your output into a table.

Troy


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
it.com]
Sent: Thursday, July 29, 2004 7:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Formatting HTML Output

That appears to be where I should be headed; for a simple

<HTML>
<TABLE>
<TR>
<TD>
</TD></TR></TABLE>
</HTML>

setting which gets automatically generated in Witango, how
do
you integrate what is being discussed in the URL you gave?
My HTML and CSS skills are weak... an example is worth a
1000
words!


---- Original message ----
Date: Fri, 30 Jul 2004 11:12:25 +1000
From: Jason Schulz <[EMAIL PROTECTED]>
Subject: Re: Witango-Talk: Formatting HTML Output
To: [EMAIL PROTECTED]

Depending upon the browser in use, you could define a print
stylesheet.
<http://www.alistapart.com/articles/goingtoprint/> has
more.
J.


On 30/07/2004, at 11:03 AM, <[EMAIL PROTECTED]>
wrote:
Nope, its not a timeout issue at all. Its just that if
the
HTML report has 25 or more rows and spans a couple of
pages,
then the print out chops up some of the output. I was
wondering if there is some easy technique to make the
HTML
data print out nicer from a cosmetic point of view.


---- Original message ----
Date: Thu, 29 Jul 2004 18:23:05 -0600
From: "Troy Sosamon" <[EMAIL PROTECTED]>
Subject: RE: Witango-Talk: Formatting HTML Output
To: <[EMAIL PROTECTED]>

Sounds like maybe a datasource timeout issue.



If it always cuts off at exactly 25 rows, I would go
in and look at how the command was done, maybe there
is something controlling paging and only selecting
25 rows.



Troy



----------------------------------------------------

From: Jason Schulz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 5:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Formatting HTML Output



Is this in a browser, a report downloaded in exce,
or a printed page?

(I'm not going to mention the scrollbar...)

J.

On 30/07/2004, at 12:47 AM,
<[EMAIL PROTECTED]> wrote:

Hello.

We have a client who is complaining that reports
generated from Witango
are getting clipped at the bottom of page when the
table output exceeds 25
rows or more. Is there a simple way to control this?

Tom Roberts

<x-tad-bigger>
</x-tad-bigger>

Reply via email to