-
Formating HTML for printing
Question:
I know some HTML but not a lot. Is there a way to embed vertical *and* horizontal
page breaks into HTML so that when I print a huge page, it gets broken up
into multiple pages at the points I determine?
Background:
We have a report (written in ActiveReports) that is exported to HTML. Before
the export to HTML, it is comprised of multiple pages (sometimes hundreds).
These pages extend both vertically and horizontally. When we try to print
this HTML page, the printer breaks up the page where ever it feels like.
This will not do. We want to specify exactly where the page is to be broken
up.
-Jeff
-
Re: Formating HTML for printing
Hi Jeff,
"Jeff Pipes" <JeffP622@msn.com> wrote in message
news:3b27b910$1@news.devx.com...
> I know some HTML but not a lot. Is there a way to embed vertical *and*
horizontal
> page breaks into HTML so that when I print a huge page, it gets broken up
> into multiple pages at the points I determine?
You can use the following CSS2 code, which works in the later versions of
IE, but I'm not sure it works with any version of Netscape:
<DIV STYLE="page-break-before:always"></DIV>
--
Constance Petersen, DevX newsgroup section leader
SoftMedia Artisans, Inc.
http://www.smartisans.com
Visual Basic.NET Internet Black Book
ISBN: 1-58880-078-4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks