469,282 Members | 1,716 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

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 1419
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 suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.