Thread: Formatting TOC
View Single Post
Old 02-28-2012, 03:24 PM   #4
GeneS
eBook Enthusiast
GeneS will become famous soon enoughGeneS will become famous soon enoughGeneS will become famous soon enoughGeneS will become famous soon enoughGeneS will become famous soon enoughGeneS will become famous soon enoughGeneS will become famous soon enough
 
GeneS's Avatar
 
Posts: 120
Karma: 726
Join Date: Dec 2007
Location: US
Device: Sony PRS-350, Astak PocketPro, iPhone, Asus eee Pad Transformer
Quote:
Originally Posted by jackibar View Post
Is there any way to format the Table of Contents that Sigil generates? For example, having the h2 tags indent a certain amount and the h3 tags indent a certain amount. It seems the way it is defaulting is to leave a much larger indent than I would prefer...
If I'm understanding the jackibar's question, a degree of control can be asserted by adding appropriate code in the CSS file generated by Sigil.

e.g.,

h2 {text-align: left; text-indent: 10%}
h3 {text-align: left; text-indent: 20%}

etc.
GeneS is offline   Reply With Quote