View Single Post
Old 09-21-2024, 02:58 PM   #21
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,921
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by foosion View Post
??

The issue was that the CSS file was in the same folder as the html files, rather than fixed folders for each. Arrange into folders moved it into a style folder and revised the links.
The folder structure really has very few fixed rules. The mimetype file must be uncompressed and in the root and the container.xml file and its cousins* must be in the META-INF folder. You can place other files in the root or in a directory structure. I prefer the structured version but that is a personal preference. I generally use Sigil's Restructure to Sigil Norm to do this (at one time Sigil did the restructure automatically when you opened an ePub but since it is not mandated, it was moved to a tool that the user gets to decide on using). Sigil does automatically reparse any links during the restructure.

signatures.xml, metadata.xml, manifest.xml, rights.xml, encryption.xml and com.apple.ibooks.display-options.xml are some of the cousins though some may be found elsewhere in the .zip container.
DNSB is offline   Reply With Quote