Forum How do I...?

To fix the Running Header and the Chapter Title Margin Space

Could you please tell us how to fix the baseline for the Chapter Title and please refer to the attached picture.
  1. princemarginfix.png7.0 kB
You can use the margin or padding properties in the page margin boxes to adjust spacing. E.g., this will add some space to the top part of the square marked in the picture:
@page {
    @top-left {
        vertical-align: bottom;
        margin-bottom: 10px;

The space above the chapter title (the bottom part of the marked square) probably comes from margins on the content itself, such as on the header element.


Edited by markbrown