Re: Page Break in Front Page or HTML

From: Murray (forums_at_HAHAgreat-web-sights.com)
Date: 10/28/04


Date: Wed, 27 Oct 2004 20:58:40 -0400


> The bad news is that only Explorer 4.x support this feature at this time

Why does my IE6/FirefoxPR1 print those page breaks, then?

-- 
Murray
"Ritesh Nigam - Microsoft Techie" 
<RiteshNigamMicrosoftTechie@discussions.microsoft.com> wrote in message 
news:827CE181-0C68-49D7-811F-5C4B86D85573@microsoft.com...
> Starting with the release of Cascading Style Sheets 2 specification, you 
> can
> finally suggest to browsers when to break pages when printing your web 
> pages.
> The bad news is that only Explorer 4.x support this feature at this time. 
> On
> the other hand, adding page break tags to web pages will not cause any ill
> effects on other browsers.
>
> To suggest a page break, add <P style="page-break-before: always"> before
> the beginning of a new printed page. For example, if you place the 
> following
> tags on a HTML page and print it using a compatible browser, you will 
> end-up
> with three pages with the sample text.
>
> <html>
> <body>
>
> This is the text for page #1.
>
> <p style="page-break-before: always">
>
> Page #2...
>
> <p style="page-break-before: always">
>
> Page #3...
>
> </body>
> </html>
>
> "Michael Kintner" wrote:
>
>> How can I add a page break in HTML so when the user prints the HTML page
>> through IE it adds a page break?
>>
>> Thank you for your help in advance!!! (smile)
>>
>> Mike
>>
>>
>>