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="doNotPrint">Test Page1</p>
> > <p CLASS="breakhere">
> > Test Page2</p>
> > <p>Test Page3</p>
> > <p CLASS="breakhere">
> > Test Page4</p>
> > <p>Test 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