Forum How do I...?

How do I style a blank page?

I have this code:

@page :blank {
background: #151514;

but every blank page generated with:

page-break-after: right;

is rendered completely white. Is this by design? Is there a way to circumvent this?

- Felipe
This may be a bug, we will need to investigate. Specifying page headers/footers for :blank pages works fine, using the @top and @bottom margin boxes. But backgrounds do not seem to be applying for some reason.
That seems to be my experience also. Thank you for the prompt reply. I'll be looking forward to the next release with the bug fix! :)
We have changed this behaviour in Prince 9, so that backgrounds and borders are still applied to blank pages by default, and can be overridden with the :blank page selector.