Quote:
Originally Posted by cybmole
I now just use an in-line style statement, as it's easy to add with sigil's find / replace engine ( which retains recent code)
so I find a <p which follows a </h2> and replace
e.g. find
h2>\s*<p class="calibre2"
replace all
</h2> <p style "text-indent:0;margin-bottom:0.3em " - ( my preferred line space needs to be in there also )
less neat - but quick to do. the number after calibre varies from book to book.
|
The problem with this way is changing it
later. (you also have no OTHER styling )
It takes a few moments to read the code and 'tune-up' your REGEX.

I keep a 'REGEX Notes' (txt) file and paste sample as well as both the terms along with my notes on what it does. Copy and Paste into the S+R boxes, adjust the tags. Fire in the Hole