We have a two-column index in our PDFs. The index has sub-headings corresponding to the letters of the alphabet, and there is a vertical spacing built in to the style of these so that there's a gap above them. This is great most of the time, but on the first page of the index the two columns are not aligned (the second column starts higher up the page than the first one) – this also applies to any other column that happens to start with a sub-heading.
I do appreciate that I'm being beyond picky now, but I can't be the only person with this issue and I'm hoping that some guru out there might have a trick to get around this!
In summary, I want to be able to tell Flare that the first item in a column should always have padding-top: 0px and margin-top: 0px even when that item would have had padding or a margin if it was located elsewhere. Is this feasible?
Thanks. Fiona
Aligning index columns when there's a "header"
-
- Senior Propellus Maximus
- Posts: 3612
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Aligning index columns when there's a "header"
“Picky” should be every tech writer’s middle name.
Have you tried the “Collapse top margin” option in your PDF target?
https://help.madcapsoftware.com/flare20 ... argins.htm
I see there’s a note (a caveat) at the bottom of the topic that might apply to your situation.
Have you tried the “Collapse top margin” option in your PDF target?
https://help.madcapsoftware.com/flare20 ... argins.htm
I see there’s a note (a caveat) at the bottom of the topic that might apply to your situation.
Nita

Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Re: Aligning index columns when there's a "header"
Thanks Nita. I got very excited when I saw this, then I checked my PDF settings and I already have that option checked. Looking at the CSS we have used padding rather than margins. Time to play with the CSS! I wouldn't have known where to look without your advice though, so thanks again. Fiona
Re: Aligning index columns when there's a "header"
CSS amended and all is well. Thanks for the help Nita 

-
- Propeller Head
- Posts: 39
- Joined: Mon Jun 28, 2021 8:02 am
Re: Aligning index columns when there's a "header"
Can you post the details of what you did? It will help others.CSS amended and all is well.
Doing Online Help since 1990. I remember "dots" .........
Got a bug? https://www.madcapsoftware.com/feedback/bugs/
Got a suggestion? https://www.madcapsoftware.com/feedback ... quest.aspx
Got a bug? https://www.madcapsoftware.com/feedback/bugs/
Got a suggestion? https://www.madcapsoftware.com/feedback ... quest.aspx
Re: Aligning index columns when there's a "header" [RESOLVE
In the CSS, I updated the sub-heading style to use margins instead of padding.sarrantsvt wrote:Can you post the details of what you did? It will help others.
In the Project Organiser, I double-clicked on the PDF target. In the Target Editor that opened, I navigated to the Advanced tab. In the Margins section, I selected Collapse top margin at top of page/column.
No more random vertical space at the top of pages/columns.