Quote:
Originally Posted by Doitsu
|
Oh, that’s beyond my competence, sorry, but I use Indesign CC to produce Epubs, ie. I got a IDgenerated CSS, not really a clean slate so to speak, but the "p class" is the same between first and second paragraph (they’re based on the printed versions paragraph styles) except for the indent on the second paragraph.
Here it goes, from the top:
<body id="Ondska-epub-3" xml:lang="sv-SE">
<div class="_idGenObjectStyleOverride-1">
<h1 class="Rubrik--kapitel"><a id="_idTextAnchor002"></a>Kapitel 2</h1>
<p class="Inledning">Hej!</p>
<p class="Brödtext-med-indrag">Hallå!</p>
and from the CSS:
p.Inledning {
color:#000000;
font-family:Georgia, serif;
font-size:0.833em;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.45;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:justify;
text-decoration:none;
text-indent:0;
text-transform:none;
widows:2;
}
p.Brödtext-med-indrag {
color:#000000;
font-family:Georgia, serif;
font-size:0.833em;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.45;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:justify;
text-decoration:none;
text-indent:10px;
text-transform:none;
widows:2;
}
// ramusthomas