View Single Post
Old 03-12-2011, 05:43 AM   #7
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
h1+p, h2+p, h3+p {text-indent:0;} always works for me using extra css during conversion. No need for regex unless there is a conflicting style, and I haven't run into that yet personally.

It does require that the book using heading tags for chapter titles though, obviously. If your chapter headings are using some specific style you can trigger off that as well:
div.chaptertitlestyle+p {text-indent:0;}

You just need to look in the html ahead of time and make it match whatever tags/styles are being used.
ldolse is offline   Reply With Quote