Most Current Subversion Book For Kindle

Jens Seidel jensseidel at users.sf.net
Thu May 31 17:01:07 CDT 2012


2012/5/31 C. Michael Pilato <cmpilato at red-bean.com>:
> So it sounds like the stylesheets for the epub output format could stand to
> be massaged.

You're right, the problem is
body {
  margin: 1in;
}
in styles.css.

Here is the margin-stuff of another (commercial) ebook:

body{margin-left:3%;margin-right:3%;margin-top:3%;margin-bottom:3%}
.nomargin{margin:0}
p{text-indent:1.2em;margin-left:0;margin-right:0;text-align:justify;margin-top:0;margin-bottom:0;font-family:"Times
New Roman",serif;font-size:109%}
.p0{text-indent:0;margin-left:0;text-align:center}
.p2{text-indent:0;margin-left:0}
.p3{text-indent:0;margin-left:0;margin-bottom:.25em}

3% seems to be a good value. I only tested  "margin: 0in;" and it was
nearly OK (much better compared to the original value), but a small
margin is better as the display is hard to read at the borders
(shadow, ...).

Jens




More information about the svnbook-dev mailing list