Line spacing in TOC eBook

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Isleofgough
Propeller Head
Posts: 91
Joined: Sat Dec 08, 2012 9:05 am
Location: Seattle WA

Line spacing in TOC eBook

Post by Isleofgough »

I know it must be simple, but I cannot find the setting in the CSS that controls line spacing or space above, space below in a generated TOC set for eBook target. All settings for TOC are set to zero space above and below, yet it generates like this:
TOCspacingFlare.jpg
You do not have the required permissions to view the files attached to this post.
SKamprowski
Sr. Propeller Head
Posts: 277
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Line spacing in TOC eBook

Post by SKamprowski »

Hi,

be aware that this might depend on your epub Reader.
Kind regards,
Sabine Kamprowski
DocToHelp MVP (by ComponentOne)
Isleofgough
Propeller Head
Posts: 91
Joined: Sat Dec 08, 2012 9:05 am
Location: Seattle WA

Re: Line spacing in TOC eBook

Post by Isleofgough »

You may be right about display being controlled by iBooks, Kindle, etc. From looking at it in Sigil, it looks like the TOC is literally a table. I just need to find out where that table style definition is located.
Isleofgough
Propeller Head
Posts: 91
Joined: Sat Dec 08, 2012 9:05 am
Location: Seattle WA

Re: Line spacing in TOC eBook

Post by Isleofgough »

I got a reply back from tech support that helps create a much better ebook TOC:

to adjust all the line spacing in your ePub output TOC you must find the "MadCap|tocProxy" class in the "styles.css" stylesheet and add the property "line-height:10px"
Post Reply