View Single Post
Old 03-09-2015, 07:57 PM   #34
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DiapDealer View Post
You DON'T have to click the 'center' button in Sigil to get your text centered (in fact you shouldn't do that IMO), you simply have to remove the leading space from the class name(s) in your html ... just like theducks originally suggested you need to do.

Even though it doesn't seem to trip up ADE, WebKit, or all EPUB validators, there is simply no good reason for leaving/introducing leading spaces in single-value class attributes. Even if it wasn't potentially tripping up Amazon's conversion tools, there's just no good reason for those spaces to be there.

As to your second example, yes... we'd need to see the css that's being applied. As exaltedwombat said; a single syntax error in the css file can get the whole shebang ignored.
Regardless:

None of these are Sigil questions. They are "how do I build an ePUB" questions. The OP should be referred to a) Pablo's Tutorial, b) Liz Castro's book (the fundamentals are never wasted, even if some of them are oldish now), and c) whatever else is appropriate.

Hitch
Hitch is offline   Reply With Quote