Quote:
Originally Posted by theducks
It is the next forum down from Calibre
EPUB XHTML is not difficult (for the basic stuff most books have. Drop in at the EPUB group to see the really  stuff the Gurus can do)
find your text that is not optimum 
EPUB is boxes within boxes...
all you have to do is find what controls the box that makes it go wrong.
You are usually looking for a class="name" statement in the tag
looking in the stylesheet, you locate:
Code:
.name { stuff.; margin-left: 1in; more stuff..}
The red is the item, the green is the value (NB 1in is not a good choice as it does not scale. Use pt or em. 0 values have no units).
if you see a "padding" value, that may affect things also (I sometimes put padding around images, so that the text does not start right against them)
all you need to do is reverse engineer the nested classes (inside to outer)
body
div (optional)
p
span? (I don't think margin applies)
Margin starts at the next layer OUT
|
LOL. You lost me at XHTML!

But thanks anyway!