View Single Post
Old 03-31-2010, 08:19 AM   #21
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Quote:
Originally Posted by paulpeer View Post
Can you find something like
Code:
line-height: .3 em;
in this CSS?

You can also look to the xhtml files. Is there a
Code:
<br />
after every paragraph?

Just remove them.
Hi

This is a epub with a line space under each line, this is the stylesheet.css from Sigil 0.20


@namespace h "http://www.w3.org/1999/xhtml";
.calibre {
display: block;
font-size: 1em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
page-break-before: always;
text-align: justify
}
.calibre1 {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-align: center;
text-indent: 1.5em
}
.calibre2 {
height: auto;
width: auto
}
.calibre3 {
display: block;
font-family: monospace;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
white-space: pre
}
a {
color: inherit;
text-decoration: inherit;
cursor: default
}
a[href] {
color: blue;
text-decoration: underline;
cursor: pointer
}

This is the code view of the same epub from sigil 0.19

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
/*<![CDATA[*/
@namespace h "http://www.w3.org/1999/xhtml";
.calibre {
display: block;
font-size: 1em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
page-break-before: always;
text-align: justify
}
.calibre1 {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-align: center;
text-indent: 1.5em
}
.calibre2 {
height: auto;
width: auto
}
.calibre3 {
display: block;
font-family: monospace;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
white-space: pre
}
a {
color: inherit;
text-decoration: inherit;
cursor: default
}
a[href] {
color: blue;
text-decoration: underline;
cursor: pointer
}

img.sgc-1 {height: 100%}

/*SG DO NOT MODIFY.
This style is used by Sigil.
It will be removed on export
along with the "sigilChapterBreak" HR tags. SG*/
hr.sigilChapterBreak {
border: none 0;
border-top: 3px double #c00;
height: 3px;
clear: both;
}
/*]]>*/
</style>
</head>

<body>
<div><img alt="cover" class="sgc-1" src="../images/img0002.jpg" /></div>

<div>
<hr class="sigilChapterBreak" />
</div>

<p class="calibre1"><img class="calibre2" src="../images/img0001.jpg" /></p>

<div>
<hr class="sigilChapterBreak" />
</div>
<pre class="calibre3">


Jay
JayLaFunk is offline   Reply With Quote