View Single Post
Old 01-22-2010, 12:39 PM   #21
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,557
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by omk3 View Post
What do you use for zipping, by the way?
I use just the standard "zip" command in Linux, which is Info-ZIP, it seems.

Quote:
Was the rest of my code okay? I'd like to hear any corrections from you ePub pros!
It seems you have your first paragraph wrapped in a <div> and the rest of the chapter in another <div>:

Code:
<div class="firstp">
<p>First paragraph of the story</p>
</div>
<div class="body">
<p>Rest of the story</p>
<p>...</p>
</div>
I don't think that's really useful, you could get the same with:

Code:
<p class="firstp">First paragraph of the story</p>
<p>Rest of the story</p>
<p>...</p>
which looks cleaner to me. And then, are you sure you meant "text-indent: 10%" in the first paragraph? Books usually have no indent in the first paragraph. Anyway, you could simply write:

Code:
p
{
margin-bottom: 0;
margin-top: 0;
text-indent: 1em;
}

p.firstp
{
text-indent: 10%;
}
Jellby is offline   Reply With Quote