Re:__print_break_in_CF???

2005-04-11 Thread S . Isaac Dealey
I suspect in order for this to work you would need the item which has
class=breakhere inside an element with class=doNotPrint ...

More specifically, this will work:

div style=display:none;
div style=page-break-before:always;.../div
/div

This will not:

div style=display:none;.../div
div style=page-break-before:always;.../div

The reason this doesn't work is because you're still displaying the
element which according to the rule needs a page break before it. So
as long as that element is being printed, that page break will be part
of the printed representation.

hth

 page-break-before works fine on IE 6, which my users are
 using.
 I want to skip certain pages when being printed to save
 trees.   I put
 the CSS below for testing.  It skips the page, but it
 still prints a
 blank page, which does not let me save trees.  Please let
 me know if I
 am missing anything.

 HTML
 HEAD
 TITLE test /TITLE
 STYLE TYPE=text/css
P.breakhere {page-break-before: always}
 /STYLE
 STYLE TYPE=text/css media=print
P.doNotPrint {display:none}
 /STYLE
 /HEAD
 BODY
 p CLASS=doNotPrintTest Page1/p
 p CLASS=breakhere
 Test Page2/p
 pTest Page3/p
 p CLASS=breakhere
 Test Page4/p
 pTest Page5/p
 p CLASS=breakhere
 Test Page6/p
 /BODY
 /HTML



s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202201
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: __print_break_in_CF???

2005-04-11 Thread Daniel Kang
One issue I am seeing on this is that display:none makes the
specific paragraphs invisible on Web Browser, which makes not to print
the specific page.   It seems that there is no way to view the page
but not to print  It seems it becomes OT!

div style=display:none;
   div style=page-break-before:always;Test Page 0/div
/div

tia

On Apr 11, 2005 12:56 PM, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 I suspect in order for this to work you would need the item which has
 class=breakhere inside an element with class=doNotPrint ...
 
 More specifically, this will work:
 
 div style=display:none;
 div style=page-break-before:always;.../div
 /div
 
 This will not:
 
 div style=display:none;.../div
 div style=page-break-before:always;.../div
 
 The reason this doesn't work is because you're still displaying the
 element which according to the rule needs a page break before it. So
 as long as that element is being printed, that page break will be part
 of the printed representation.
 
 hth
 
  page-break-before works fine on IE 6, which my users are
  using.
  I want to skip certain pages when being printed to save
  trees.   I put
  the CSS below for testing.  It skips the page, but it
  still prints a
  blank page, which does not let me save trees.  Please let
  me know if I
  am missing anything.
 
  HTML
  HEAD
  TITLE test /TITLE
  STYLE TYPE=text/css
 P.breakhere {page-break-before: always}
  /STYLE
  STYLE TYPE=text/css media=print
 P.doNotPrint {display:none}
  /STYLE
  /HEAD
  BODY
  p CLASS=doNotPrintTest Page1/p
  p CLASS=breakhere
  Test Page2/p
  pTest Page3/p
  p CLASS=breakhere
  Test Page4/p
  pTest Page5/p
  p CLASS=breakhere
  Test Page6/p
  /BODY
  /HTML
 
 
 s. isaac dealey   954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://macromedia.breezecentral.com/p49777853/
 http://www.sys-con.com/author/?id=4806
 http://www.fusiontap.com
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202209
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE:__print_break_in_CF???

2005-04-06 Thread S . Isaac Dealey
 Ok, then is it the avoid-break-in property that is not
 well supported?  I have not been using this, because I had
 distinct memory of having trouble.  I guess it's time for
 new experiments.

I wouldn't be surprised if that's the case -- I haven't tried that
property myself.

s. isaac dealey 954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201794
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: __print_break_in_CF???

2005-04-06 Thread Rick Faircloth
Ok...now that that issue is settled...just what
is the CSS code you use to cause a print break?

Rick


-Original Message-
From: S.Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 9:07 PM
To: CF-Talk
Subject: RE:__print_break_in_CF???


 Ok, then is it the avoid-break-in property that is not
 well supported?  I have not been using this, because I had
 distinct memory of having trouble.  I guess it's time for
 new experiments.

I wouldn't be surprised if that's the case -- I haven't tried that
property myself.

s. isaac dealey 954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201799
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54