Hi,
sorry, I don't know how to explain the following issue. Please see my screenshot.
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.
Big space on top in PDF
-
- Propeller Head
- Posts: 37
- Joined: Thu Sep 15, 2022 7:40 am
Big space on top in PDF
You do not have the required permissions to view the files attached to this post.
Re: Big space on top in PDF
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?
-
- Propeller Head
- Posts: 37
- Joined: Thu Sep 15, 2022 7:40 am
Re: Big space on top in PDF
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.
{
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
Have you checked the PDF template?
Re: Big space on top in PDF
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.
-
- Propeller Head
- Posts: 37
- Joined: Thu Sep 15, 2022 7:40 am
Re: Big space on top in PDF
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...
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...
You do not have the required permissions to view the files attached to this post.