RE: Does anyone know of a way to insert a Page Break in a HTML do cume nt?

Subject: RE: Does anyone know of a way to insert a Page Break in a HTML do cume nt?
From: "Jochim, Rainer 3139 PPE-QA2" <Rainer -dot- Jochim -at- de -dot- heidelberg -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Wed, 21 Nov 2001 13:42:49 +0100

Hi Richard,

This would typically be done through cascading stylesheets.
You could for example make all first level headings automatically start on a
new page in print:

H1 { page-break-before: always }

Editing the stylesheet would automatically affect all html pages using that
stylesheet and containing at least one first level heading. (However, this
kind of media specific formatting does not work with any browser, no matter
how you use this style.)

HTH
Rainer


> -----Original Message-----
[...]
> Does anyone know how to insert a page break in a HTML document?
>
> I know about the following
>
> <div style="page-break-before:always">
> stuff on a new page
> </div>
>
> but was wondering if there is a faster and easier way to do this?
[...]

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Collect Royalties, Not Rejection Letters! Tell us your rejection story when you
submit your manuscript to iUniverse Nov. 6 -Dec. 15 and get five free copies of
your book. What are you waiting for? http://www.iuniverse.com/media/techwr

Your monthly sponsorship message here reaches more than
5000 technical writers, providing 2,500,000+ monthly impressions.
Contact Eric (ejray -at- raycomm -dot- com) for details and availability.

---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Previous by Author: Re:Best and Worst Agency Stories (more) (long)
Next by Author: RE: Does anyone know of a way to insert a Page Break in a HTML do cument?
Previous by Thread: Re: Netscape on Linux and Windows
Next by Thread: Thanks for the encouragement


What this post helpful? Share it with friends and colleagues:


Sponsored Ads