471,853 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

Divide printable content by pages

I have a long page that contains few separate information blocks. When
I print the page by means of window.print(), the content is
automatically divided by pages.

I look through and find I can do it if I load blocks in separate
frames. But there is a new problem. There are ten or more blocks. When
I load the content it is unreadable.
- If frameset fits to the screen, then the result looks like many
horizontal stripes with scrolling. The more blocks need to be shown,
more unreadable page becomes.
- If frameset is more than screen (blocks occupied their own height
without scrolling), then some content becomes invisible because
frameset has no scrolling.

I have two questions:
1.Is there any way to divide the content by blocks for printing without
frames?
2.If not, is there any way to scroll frameset?

May 24 '06 #1
2 1480
VK

marss wrote:
1.Is there any way to divide the content by blocks for printing without
frames?


See CSS rules:
page-break-before
page-break-after

May 24 '06 #2

VK написав:

See CSS rules:
page-break-before
page-break-after


Thanks a lot, VK. I couldn't expect it will be so easy!

May 24 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by jonathan.beckett | last post: by
2 posts views Thread by Harold R | last post: by
17 posts views Thread by Jeff | last post: by
6 posts views Thread by Sandman | last post: by
4 posts views Thread by Claudia Fong | last post: by
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.