Forum How do I...?

How do you break a line in the page margin areas?

dlpBNA
@page {

size: letter;

@bottom-center {
content: "This is my document name. Document number";
text-align: center;
}
}

I want the document number to be under the document name but nothing I try works.
Can this be done and if so how?
howcome
You can add a line break character with "\a" (hexadecimal for 10, which is the ASCII/Unicode code point). Also, you must declare that line break characters should be honored with the "white-space" property:

<html>
<style>
@page {
  @bottom-center {
    content: "This is my document name. \a  Document number";
    white-space: pre-line;
    text-align: center;
  }
}
</style>
</html>

Edited by howcome

dlpBNA
Thank You. That did the trick.