H1 line height when at top of page (pdf output)

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
MMaisonet
Jr. Propeller Head
Posts: 3
Joined: Mon Mar 09, 2020 12:09 pm

H1 line height when at top of page (pdf output)

Post by MMaisonet »

Hi folks,

Most often H1 appears at the top of a page (pdf output) however, occasionally it appears mid-way through a page. When it appears mid-way, I want it to have a large "before" spacing so it stands out.
When I set either "before" spacing or "line height" it looks great in the middle of a page, but when the H1 appears at the top of a page the Spacing offsets from the page layout frame and the H1 is misaligned (further down on the page than intended).
Imagine H1 on the left page of a printed document being lower than the body text on the right side of the page because the H1 has spacing before it.
So, is there a way to set it in the css so H1 only has padding/spacing when it appears in the middle of a page, but not when it is at the top?

TIA
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: H1 line height when at top of page (pdf output)

Post by ChoccieMuffin »

I know that one! :lol:

It's not in the CSS, it's in the target. Open the target, and on the Advanced tab, scroll down and select the Collapse top margin at top of page/column check box. Sorted!
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply