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 d ocume---nt?
Subject:re: Does anyone know of a way to insert a Page Break in a HTML d ocume---nt? From:Cheryl Lambert <clambert01 -at- yahoo -dot- com> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Wed, 21 Nov 2001 12:19:20 -0800 (PST)
To set a page break in an HTML document (for printing, not viewing), you
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.
Examples:
<h3 style="page-break-before: always;">
<table style="page-break-after: always;">
"always" means just that: always put a page break before or after the HTML
tag.
"auto" allows the browser to place the page breaks (just like it usually
does).
-Cheryl
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
---
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.