Quote:
Originally Posted by santosha
I was under the impression that heading (<hn>) tags were more difficult to style ...
Can I for example use <hn> tags to style Part- and chapter headings, and then also add elements such as text-indent:0em;, italics, and so on?
|
Headings are by default larger than body text, but can otherwise be styled exactly like all other (X)HTML elements. You should be able to recycle your paragraph styles.
BTW, Sigil uses the
title attribute for all auto-generated TOCs. This'll allow you to automatically generate TOC entries that differ from the actual heading text. For example:
Code:
<h1 id="c1" title="1">Chapter 1<br />The Beginning</h1>
The above code'll display
Chapter 1 followed by a line-break and
The Beginning. However, if you generate a TOC with Sigil, only the chapter number will be added to the TOC.