Thread: Stacked boxes
View Single Post
Old 11-12-2021, 11:15 PM   #6
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,616
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by RbnJrg View Post
Classes whose names are emojis, they are not detected by ADE 2. So the margin-bottom for <h1> is not taken by ADE but webkit it is. ADE doesn't need that margin but webkit does. For that reason I employed that class.

You can exclude the <h1> tags for the TOC generator, that is not an issue. But if you feel that are more comfortable with a <p> tag instead of <h1>, no problem, is ok, use <p>.

By the way, your solution uses the property "margin: auto" and that is not supported by ADE for epub2 (is ok for webkit) and —still today— there are many ereaders based on Legacy ADE (RMSDK).

No problem!
Thanks for the explanations
Karellen is offline   Reply With Quote