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

Have you looked at the new content on TECHWR-L lately?
See http://www.raycomm.com/techwhirl/ and check it out.

---
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.


References:
re: Does anyone know of a way to insert a Page Break in a HTML d ocume---nt?: From: Christensen, Kent

Previous by Author: Re: Freelance Ethical Dilemma...
Next by Author: Re: techwr-l digest: October 31, 2001
Previous by Thread: re: Does anyone know of a way to insert a Page Break in a HTML d ocume---nt?
Next by Thread: re: Does anyone know of a way to insert a Page Break in a HTML document?


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


Sponsored Ads