View Single Post
Old 11-23-2010, 07:26 PM   #11
Danger
Evangelist
Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.
 
Danger's Avatar
 
Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
I have simplified mine. Strip all class/div or any other tags you don't want using Find & Replace, applied to the "current file" or "All HTML Files" that you have open.

This is my style sheet for my Kobo ePubs:
/* set all page margins: top 15px, left/right/bottom 0px */
@page { margin: 15px 0px 0px 0px; }

/* h1 used for book title & author name */
h1 {
text-align: center;
}

/* h2 used for all chapter heading */
h2 {
text-align: center;
page-break-before: always;
padding: 0;
margin: 1em;
}

/* set all paragraphs to justify & leave 8px between paragraphs */
/* this margin separates the paragraphs enough to make reading */
/* but not enough to make it obvious */
p {
text-indent: 35px;
text-align: justify;
padding: 0;
margin: 8px;
}
Danger is offline   Reply With Quote