I have just got a couple of ebooks, created by the same person. One of them displays correctly on readers and in Sigil the other one is constantly breaking words instead of moving to the next line. It does this both in a reader and in Sigil so I assumed it was something in the CSS.

img.sgc-6 {height: 100%}
/*]]>*/
</style>
The body line looks, to my untrained eye, to be incorrect, but the display of one ebook is OK with that line in.

The body of the ebook is formatted with <p> </p> tags around paragraphs, the same in both books.

Any suggestions as to why one is splitting words and the other is not?

frabjous

12-01-2009, 10:21 AM

Do they both use <body class="sgc-5"> at the beginning of the body section of the (x)html files?

weedfreak

12-01-2009, 10:45 AM

Neither book has any entry for class=sgc-5 anywhere in the body section, one of the reasons I thought there might be an error with that line. Deleting that line from both books makes no difference, one still breaks words and the other does not.