View Single Post
Old 11-22-2011, 10:40 AM   #11
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dwig View Post
No, the fact that Sigil displays the book correctly DOES NOT point to the error solely being in the CSS. Sigil could very easily be correcting for an error in the (x)html files as one in the CSS.

Since the error only occurs in the display of a portion of the document, or in some of the (x)html files, it is all but impossible for the error to be in the CSS stylesheet. An error in the stylesheet would affect the whole document, not just a portion.

The only way a stylesheet error could be causing this behavior is if the <p> tags in chapt 1-2 have one style applied and chapt 3-... have a different style and the style used in chapt 3-... contains a typo that Sigil is correcting for on the fly. Even if this is the case, resolving it would be much easier if the (x)html code used for chapt 2 is carefully compared to that used for chapt 3 to expose the difference. You could then know what coding error/difference in chapt 3-... causing the problem. It may point to a different CSS style that needs fixing and may indicate some other error.
real trashy (style per chapter that gets created on some OCR conversions) style sheets excepted.
It may also be possible for the <body> to not have the same/no style applied
theducks is offline   Reply With Quote