Quote:
Originally Posted by tarisea
Hi. I'm having fun with Sigil and am just amazed at what it can do. I have run into a problem with the TOC and of course with the html generated TOC.
I have 2 headings.
<h4> is the word "Book" and the book number e.g. Book 1 or Book 2 & 2.5
<h3> is the book title
The TOC to shows the two headings but they are on 2 different lines which makes the TOC very confusing.
Is there any way to get the TOC to show:
<h4> <h3>
Thank you in advance for your help.
|
One way is to give the h3, h4 selectors the "display: inline" property. In your css stylesheet write the following:
Code:
h3, h4 {
display: inline;
}
Of course, you could give to the h3, h4 selectors others properties to distinguish them. Below I attach a simpe epub with the two headers inlined.
Regards
Rubén