O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Set up body regions

Determine the dimensions of the body region of your page masters.

In the previous exercise, we saw that the page-margin-top and page-margin-bottom variables define the top and bottom margins of the page. Both variables are set to 1in.

By default, the PDF plugin uses the same two variables to define the top and bottom margins of the body region of the page.

This makes the body region start where the top margin ends and end where the bottom margin begins. So you get a page like Figure 1:

../images/no_space_body.png
Figure 10. Body region without space above and below

But this isn’t what we want now. We want .25in of white space between the top margin ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required