Hello!
I'm having an issue that hopefully someone else has encountered in the past and may have some guidance on. I'd like to be able to select specific pages of my Space and export to PDF using the native Confluence exporter with some stylesheet modifications that I've done.
The problem is, single pages "bleed over" into the next page on occasion. Is there a way to force a single Page to export to a single Page using some CSS magic?
I have done some light modifications already, such as font sizing, header and footer, landscape, etc.
My CSS for reference:
@page {
size: 11in 8.5in; /* force landscape format */
margin-top: 0px:
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
/* modify presets */
h1 {
font-size: 24pt;
font-weight: bold;
font-style:italic;
}
@top-center {
content: "HEADER GOES HERE"; /* This is the content that will appear in the header */
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
font-weight: bold;
}
@bottom-center {
content: "FOOTER GOES HERE " "Page " counter(page) " of " counter(pages); /* This is the content that will appear in the footer */
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
font-weight: bold;
}
/* Any other page-specific rules */
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.