Page 1 of 1
Big space on top in PDF
Posted: Tue Oct 15, 2024 4:52 am
by Zauberlehrling
Hi,
sorry, I don't know how to explain the following issue. Please see my screenshot.
inServiceCheck.PNG
When I print an individual topic from the HTML it looks like that. It didn't always look like that. I think it started with the last 2023 version. I can't recreate because I remove the old version when installing the new one, for space reason.
Only the top is affected, the bottom border is fine as has the expected size.
Has anyone noticed the same and found a solution for it?
Can someone help, please?
Thank you.
Re: Big space on top in PDF
Posted: Tue Oct 15, 2024 3:48 pm
by Psider
Perhaps check your stylesheet for a div class containing the word "breadcrumb" that has a large padding-top or margin-top set for the print medium?
Re: Big space on top in PDF
Posted: Thu Oct 17, 2024 1:51 am
by Zauberlehrling
Thank you for your reply, but no, I don't have a div class for "breadcrumb", just the MadCap|breadcrumbsProxy with nothing special, see below.
{
font-style: italic;
border-bottom-style: none;
margin-bottom: 0px;
margin: 0px;
padding-bottom: 0;
border-left: solid 2px #8192c0;
border-bottom-color: #8192c0;
background-color: #d4def8;
font-size: 0.9rem;
}
It's only like that when printing an dividual topic as PDF from the HTML output.
Re: Big space on top in PDF
Posted: Thu Oct 17, 2024 2:16 am
by scap
Have you checked the PDF template?
Re: Big space on top in PDF
Posted: Thu Oct 17, 2024 2:51 am
by NorthEast
If you print a topic from your web browser, then it will use CSS from the print medium in your stylesheet - so check anything inside @media print {} in your stylesheet.
Re: Big space on top in PDF
Posted: Thu Oct 17, 2024 5:08 am
by Zauberlehrling
Thank you, both.
I created a new project and used the unchanged CSS from the new project to make sure that my CSS was the issue.
Please see attached the screenshot of the print from that test. Looks the same. It must have something to do with Flare interpreting a print from the web browser. As you can see only the first page has that big header space, the page break looks normal.
And I am pretty sure that it looked okay in earlier versions...