Thread: stylesheet help
View Single Post
Old 07-02-2013, 06:06 AM   #6
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by mrmikel View Post
It is also possible that the style information is specified at the start of each file making up the epub. That could account for the different fonts, too.

If it exists at the start of the file, either change it or eliminate it and put all font information in one stylesheet.
This regularly happened to me when I saved a Word doc as html, then opened the html in Sigil. (That is, I ended with a style sheet in every chapter and indeed in every image page etc.) Then I developed a file called epub.css that served all my purposes and linked to that instead (<link rel="stylesheet" type="text/css" href="epub.css">). The reduction in file size was noticable.

I love the way Sigil recognizes and "inhales" related files and images.
Notjohn is offline   Reply With Quote