When I specify an @bottom or @bottom-center footer like below, Prince leaves space between the border and the footer content.
I can see that this spacing prevents overlap with @bottom-right and @bottom-left, which go above @bottom. But in a document that doesn't have @bottom-right or @bottom-left content, how can I get a full-width footer to display directly below the footer's top border?
Here's the problem, in text:
What I'm getting:
_____________________________________
This is my @bottom content
What I want:
_____________________________________
This is my @bottom content
I have tried negative margin-top and padding-top on @bottom and on my footer div, but neither worked.
I can see that this spacing prevents overlap with @bottom-right and @bottom-left, which go above @bottom. But in a document that doesn't have @bottom-right or @bottom-left content, how can I get a full-width footer to display directly below the footer's top border?
Here's the problem, in text:
What I'm getting:
_____________________________________
This is my @bottom content
What I want:
_____________________________________
This is my @bottom content
@page-first {
@bottom-left { content: none }
@bottom-right { content: none }
@bottom {
border-top: 1px solid black;
content: flow(footer);
}
}
I have tried negative margin-top and padding-top on @bottom and on my footer div, but neither worked.