TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
RE: Does anyone know of a way to insert a Page Break in a HTML do cument?
Subject:RE: Does anyone know of a way to insert a Page Break in a HTML do cument? 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:Thu, 22 Nov 2001 11:35:15 +0100
Defining the page break property in an external css will effect all tags of
that kind within the html document. E.g. if you add the "page-break-before:
always" property to third level headings (h3) ALL third level headings will
start on a new printed page.
(If the browser supports this function.)
Adding a style to only one occurrence of a tag within the html document lets
you tweak the document much more.
(It might though be a bit cumbersome with generated documents. You'd have to
remember where you did what each time the document is regnerated from the
database or from another source. ;-)
Another option to selectively assign properties is defining a "class". Then
you could assign this class to any paragraph where you need it.
Let's say you define a class "PB" in the the stylesheet:
.PB {page-break-before: always;}
Then you could assign this class to paragraphs <p class="PB"> or to any
hierarchy level of headings <h1 class="PB">, <h2 class="PB">.
Regards
Rainer
> -----Original Message-----
> From: Cheryl Lambert [mailto:clambert01 -at- yahoo -dot- com]
> Sent: Mittwoch, 21. November 2001 21:19
> To: TECHWR-L
> Subject: re: Does anyone know of a way to insert a Page Break
[...]
> must use the "page-break-before" or "page-break-after" style sheet
> property *on an HTML tag* (i.e., you cannot define this in an external
> style sheet file or in an embedded style sheet definition).
> Valid values
> for these style sheet properties are "always" and "auto". My reference
> book says it works for IE4 (buggy) and NS6 (IE6 wasn't out
> yet when the
> book was written). Another reference book says you *can* define an
> embedded or external style definition. You'll need to test it.
[...]
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.