View Single Post
Old 02-17-2011, 04:51 AM   #42
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
h1+p,h2+p, h3+p,blockquote+p{text-indent:0;}

can I combine that with also having p {text-indent: 1em} in the extra css

so that a book with no indents becomes a book with indents except at chapter start.

PS Idolise - do you have a view on why p {text-indent: 1em} fails if there are text-indent 0 entires in the stylesheet as per earlier post. and can you reproduce this bug/feature ?

meatime - testing this new suggestion - using mobi to mobi as the mobi source already has intents (previously added via extra css )...
didn't work in this case but my test book may have extra styling, as the chapter start words are in bold:
the epub looks like this.
typically there is a lot of hard to remove crap in chapter headings
Code:
<body class="calibre6">
  <h2 class="calibreclass2" id="heading_id_11"><span class="calibreclass1"><strong class="calibre7">CHAPTER</strong> 10<br class="calibre8" /></span></h2>

  <p class="calibre2"><strong class="calibre5">Robert Langdon</strong> had entered the Capitol Rotunda many times in his life,
i try a different book ( mobi to mobi again) no joy chapter start is still indented.

I'll have to test with epubs where I can see what is going on.

Last edited by cybmole; 02-17-2011 at 04:59 AM.
cybmole is offline   Reply With Quote