Forum How do I...?

Line breaks in footer

ysandeep
Hi Mike:

Is it possible to force a line break in the footer section of a page?

There's a piece of text that I want to display in the footer, but I want one part of the text in one line and the other part in another line.

Thanks,
Sandeep
mikeday
You can add a linebreak character in the text using the \A escape, then change the white-space mode to pre or pre-line to ensure that it takes effect:
@page {
    @bottom {
        content: "First line\A Second line";
        white-space: pre-line
    }
}
ysandeep
Thanks!