Hi, I'm tearing my hair out trying to figure out which element will reduce the space between footnotes. Can anyone help? TIA.
How to reduce spacing between footnotes?
How to reduce spacing between footnotes?
You do not have the required permissions to view the files attached to this post.
-
- Propeller Head
- Posts: 47
- Joined: Mon Jun 28, 2021 8:02 am
Re: How to reduce spacing between footnotes?
Place the cursor in the footnote at the bottom of the page (or wherever it appears) and look in the Style box to see what style is in use.
In mine it is MadCap:footnote.Block. Make changes to properties of MadCap:footnote.Block in the CSS. For example, reduce the value of line-height or change the margins.You do not have the required permissions to view the files attached to this post.
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: How to reduce spacing between footnotes?
Thank you for your response. I tried this (and many other things) and nothing is having any effect.sarrantsvt wrote:Place the cursor in the footnote at the bottom of the page (or wherever it appears) and look in the Style box to see what style is in use.In mine it is MadCap:footnote.Block. Make changes to properties of MadCap:footnote.Block in the CSS. For example, reduce the value of line-height or change the margins.
(I find it strange that line-height has no effect.)
And yes, I am making these changes in the correct medium.
Any other ideas?
Thank you again.
-
- Senior Propellus Maximus
- Posts: 3669
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: How to reduce spacing between footnotes?
What is your HTML structure for the footnotes? In other words, kindly show us the code for those two footnotes. Not that that'll lead us to a solution necessasrily, but it's something I'd explore while troubleshooting.
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: How to reduce spacing between footnotes?
Ok, when I went to insert the code, I noticed that each footnote includes a <p> tag inside the <MadCap:footnote> tag. When I deleted that, the space disappeared.Nita Beck wrote:What is your HTML structure for the footnotes? In other words, kindly show us the code for those two footnotes. Not that that'll lead us to a solution necessasrily, but it's something I'd explore while troubleshooting.
It's a bit disconcerting because the footnotes are in topics that were imported from Word documents. ALL of the footnotes contain <p> tags. After each import (of which I'll be doing many in the coming months), I'll need to go back and delete them all. Ugh.
Thank you for the hint!
Re: How to reduce spacing between footnotes?
Could you edit the footnotes on Word first and associate them with a style? This could be mapped during import so that it was formatted as something other than <p>. Then you could either use a specific paragraph style that's correctly formatted to close up the footnote paragraphs, or identify the footnote paragraphs to globally remove the "rogue" formatting?
Rae Streets (Flare user since 2017, now on Flare 2023; Central user from 2020)
-
- Senior Propellus Maximus
- Posts: 3669
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: How to reduce spacing between footnotes?
You have two options to clean up the footnotes from the Word imports.EileenP wrote:It's a bit disconcerting because the footnotes are in topics that were imported from Word documents. ALL of the footnotes contain <p> tags. After each import (of which I'll be doing many in the coming months), I'll need to go back and delete them all. Ugh.
Idea 1: Create a complex selector in your stylesheet that will mitigate the margins/padding above and below the paragraphs within the footnotes. Sorry, I don't readily have code to share with you. This is the solution I'd do, as it would mean that you don't need to do anything for the individual footnotes.
Idea 2: Use the Find and Replace window's Elements pane to craft a find-and-replace run that would unbind the <p> within footnotes. You'd need to do this cleanup after each new import from Word. IMPORTANT: Back up your project before doing this kind of global code change, in case something goes wrong.
I hope these ideas point you in a good direction.
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: How to reduce spacing between footnotes?
Thank you @Nita Beck and @Rstreets.
I decided to use FAR to clean these up after each import.
Thank you!
I decided to use FAR to clean these up after each import.
Thank you!
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to reduce spacing between footnotes?
Following Nita's suggestion, if the spacing is coming from the paragraph tag inside the footnote tag I'd add something like:
into your stylesheet. This should remove extra spacing from all paragraph tags within footnotes. Then you'd probably need to tweak the settings to get things to display how you want them to.
A once-off fix is always better to me than thing you have to remember to do after each build.
Hope that helps,
Rob
Code: Select all
MadCap|footnote p
{
margin: 0;
padding: 0;
}
A once-off fix is always better to me than thing you have to remember to do after each build.
Hope that helps,
Rob
Re: How to reduce spacing between footnotes?
Oh, that's excellent. Thank you, Rob!