Keep things together on printed page?

P

Paul Kraemer

Hi,

I am using FP2000. I have created a web page that is
kind of long. It has several "sections" that I have
separated with horizontal lines. I was wondering if
there is a way I can have any control over how this web
page will print. Basically, I'm looking for a "Keep
together" type option like in MS Word, or at least a way
that I can force each "section" to start at the top of a
new page. I have a feeling the answer is no, and that it
would be better to turn my "sections" into separate
pages, but I figured I would ask..

Thanks,
Paul
 
J

Jon Spivey

Hi Paul,

You can control page breaks with CSS - there's 2 options
page-break-before:always and page-break-after:always. So you might have

<style type="text/css" media="print">
h2{
page-break-before:always;
}
</style>

<h2>This Heading Will Always Start A New Page</h2>
 
G

Guest

Thanks Jon, that's great!

Cheers,
Paul
-----Original Message-----
Hi Paul,

You can control page breaks with CSS - there's 2 options
page-break-before:always and page-break-after:always. So you might have

<style type="text/css" media="print">
h2{
page-break-before:always;
}
</style>

<h2>This Heading Will Always Start A New Page</h2>

--
Cheers,
Jon
Microsoft MVP - FP




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top