Based on just that “page-break-before”

 

<STYLE MEDIA="print"><!--

p.page { page-break-before: always }

//--></STYLE>

<STYLE type="text/css"><!--

body{ font-style: Arial; font-size: 10pt;

����� }

�� H1, H2, H3{font-family: Hobo BT; color: lightblue; }

P {font-size: 12font-style: Arial;}

Table {font-size: 10pt }

//--></STYLE>

</HEAD>

<BODYbgcolor="#FFFFFF" text="#000000">

<Center><@ASSIGN local$alternate 1 >

<h1>Littles Search Report</h1>

<DIV align=center valign=top>

<table border=1 width=600 cellpadding="6" cellspacing="0" style="border-collapse: collapse">

 

<@ROWS>

����� <tr>

����� <Td width=200 nowrap>

����������� <@ somedata>

����� </TD>

����� </TR>

<@IF expr="<@currow> % 11"><@ELSEIF expr="@@local$alternate"></TABLE>

</DIV><p class=page></p><DIV align=center ><Table border=1 width=600 cellpadding="6" cellspacing="0" style="border-collapse: collapse"></@IF>

</@ROWS>

</TABLE>

</DIV>

</Center>

 

 

 

 

 

 

 

 

 

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Scott Cadillac
Sent:
Wednesday, May 15, 2002 2:52 PM
To: Multiple recipients of list witango-talk
Subject: Re: Witango-Talk: Print Records?

 

Hi Dan,

 

Again, I can't speak for the capabilities of other less worthy Browsers :-],

but MSIE supports the following two CSS Properties:

 

"page-break-after:"

 

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref

erence/properties/pageBreakAfter.asp?frame=true

(above URL will word-wrap)

 

or, "page-break-before:"

 

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref

erence/properties/pageBreakBefore.asp?frame=true

(above URL will word-wrap).

 

These can help you separate your records when printing from a single large

page.

 

Hope this helps. Cheers...

 

Scott Cadillac

http://xml-extra.net

[EMAIL PROTECTED]

 

VP, Research and Development

Plus International Corp.

604-460-1843

[EMAIL PROTECTED]

http://www.plusinternational.com

 

Vancouver, BC, Canada

 

Does your company have an Enterprise Information Portal? Check out Salsa at

www.plusinternational.com/flash/salsa.htm

 

----- Original Message -----

From: "Dan Stein" <[EMAIL PROTECTED]>

To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>

Sent: Wednesday, May 15, 2002 2:04 PM

Subject: Re: Witango-Talk: Print Records?

 

 

Hmm

Don�t think this one will work because they need to have not a list of

records but at course information sheet that includes all the stored

information about that course. I want each course to print on a separate

page so in effect I�m going to the detail of a list of records and printing

it.

 

Dan

 

on 5/15/02 4:06 PM, Henning Sittler at [EMAIL PROTECTED] wrote:

 

> If you want ONLY the found set of records printed, and nothing else:

>

> When the user sees the results they can click a Print button that opens a

new

> window, which displays only the resulting records, and no other

uneccessary

> HTML or content.The new window would also contain >

in

> the <body> tag.

>

>

> Henning Sittler

> www.inscriber.com

>

>

>

> -----Original Message-----

> From: Dan Stein [mailto:[EMAIL PROTECTED]]

> Sent: Wednesday, May 15, 2002 3:56 PM

> To: Multiple recipients of list witango-talk

> Subject: Witango-Talk: Print Records?

>

>

> I need to print a found set of records I suspect it is at least partially

a

> JavaScript thing.

>

> After the find I would like the browser to just print out each record in

the

> found set using a format I set in the results page.

>

> Anyone have suggestions for the best approach and/or the JavaScript?

>

 

 

--

Dan Stein

Digital Software Solutions

799 Evergreen Circle

Telford PA 18969

215-799-0192

610-256-2843

Fax 413-410-9682

FMP,Tango, EDI,SQL 7

[EMAIL PROTECTED]

www.dss-db.com

 

 

 

 

________________________________________________________________________

TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]

��������������� with unsubscribe witango-talk in the message body

Reply via email to