View Single Post
Old 07-17-2022, 10:01 PM   #12
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,873
Karma: 6120478
Join Date: Nov 2009
Device: many
Perfect analysis. Yes, each block and frame has specific fixed widths and fixed heights with overflow: hidden.

This does appear as if someone took a fixed layout epub3 and shoehorned it into a reflowable epub2.

The resulting css is truly horrible for a reflowable epub. Perhaps you (pitipilot) might want to think about stripping out all the css classes and starting over from scratch with much more minimalist cross platform css suitable for a reflowable epub.


Quote:
Originally Posted by DNSB View Post
You could install and use TagMechanic (a Sigil plugin). I tested it by selecting all the text files and then running TagMechanic with:
Action type: delete
Tag name: div
Having the attribute: class
Whose value is frame_[0-9]

This seems to have removed all the div class="frame_xx]/</div> pairs. See the attached file.

One quick question is why this epub seems to have been made with each page as a separate file. Almost like it was a fixed layout epub that was mangled into a reflowable format.

Last edited by KevinH; 07-18-2022 at 07:54 AM.
KevinH is offline   Reply With Quote