K-

One thing that I have done is to use that fact that browsers try not to
break images wile printing. NS and IE have different break-image percentages
- but a happy medium can be found. You just need to tie your content to that
image.

To solve the problem I created a table with one row and two columns (one
column very low width and with a spacer image in it). I tested on IE 4,5 and
NS 3,4 (Mac & Win on 4 different printers) and it seemed to work great.  

I think the code went something like this:

<table width="600" border="0" cellspacing="0" cellpadding="0" height="750">
  <tr>
    <td width="15"><img src="/images/spacer.gif" width="16"
height="750"></td>
    <td width="585">
Your Content For Page 1
</td>
  </tr>
</table>

<table width="600" border="0" cellspacing="0" cellpadding="0" height="750">
  <tr>
    <td width="15"><img src="/images/spacer.gif" width="16"
height="750"></td>
    <td width="585">
Your Content For Page 2
</td>
  </tr>
</table>


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 17, 2000 8:33 AM
To: [EMAIL PROTECTED]
Subject: Newbie:Printing and Page Break 

I have to be missing something here but;

We have a CF page that displays one right after another. At the end of
the form we are placing a

<h1 style="page-break-before: always"><h1>
or
<br style="page-break-before: always">

To eject a page.  First time through the loop it works, the second time
and on it does not.


Also, could someone tell me why something like this isn't working.

</HEAD>
<BODY>asdfasdfsf
<h1 style="page-break-before: always"></h1>
adfga
</BODY>
</HTML>

Are there some conditions that must be met for this to work.

K

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to