View Single Post
Old 05-30-2023, 06:32 PM   #37
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,073
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by graycyn View Post
Presuming the older software understands CSS, then <figure> and other HTML5 block elements work fine if you style them with display: block;.

Code:
/* HTML5 block tags defined for legacy reading systems. */
article,aside,figcaption,figure,footer,header,main,nav,section {
  display: block;
}
You can then add whatever additional styling you might need as desired. Like making <figcaption> a smaller font size, or italicized, or adding margins, etc...
That is incorrect. ADE 2.0.1 will not work with <figure> no matter what you do with it in CSS. It needs to be a <div>

All of those "commands" won't work. That's the problem. ePub 3 could be more backwards compatible with ePub 2 without removing any of the functionality.

So no, they won't work with legacy reading system that are not based on an up-to-date enough webkit.
JSWolf is online now   Reply With Quote