Big space on top in PDF

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Zauberlehrling
Propeller Head
Posts: 37
Joined: Thu Sep 15, 2022 7:40 am

Big space on top in PDF

Post 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.
You do not have the required permissions to view the files attached to this post.
Psider
Propellus Maximus
Posts: 860
Joined: Wed Jul 06, 2011 1:32 am

Re: Big space on top in PDF

Post 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?
Zauberlehrling
Propeller Head
Posts: 37
Joined: Thu Sep 15, 2022 7:40 am

Re: Big space on top in PDF

Post 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.
scap
Propeller Head
Posts: 62
Joined: Tue Jun 28, 2022 7:36 am

Re: Big space on top in PDF

Post by scap »

Have you checked the PDF template?
NorthEast
Master Propellus Maximus
Posts: 6404
Joined: Mon Mar 05, 2007 8:33 am

Re: Big space on top in PDF

Post 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.
Zauberlehrling
Propeller Head
Posts: 37
Joined: Thu Sep 15, 2022 7:40 am

Re: Big space on top in PDF

Post 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...
You do not have the required permissions to view the files attached to this post.
Post Reply