Quote:
Originally Posted by cybmole
yep, but I tested with several books and the default P tag was adequate except for needing to style the indent & line space. It's lazy, I know , & probably will come back to bite me someday :-)
your cascade solution is elegant but it's not clear to dummies like me, from your post exacly how to do it.
is cascade
part of the solution, or a commentary ?
seems that to do it your way I have to add 1 lines or more to my .css ( which I could paste in from one I made earlier ) and then also run a regex
I am confused because I read somewhere that you can only have one class per tag, yet you seem to have found a way of having 2 - the calibre class + the firstpara class.
how come that works, but adding (in-line) style text:indent 0 where you added firstpara does not work - I am pretty sure I tried doing it in line & it failed , even with all brackets in the correct places.
|
You can have MANY

SELECTORS, but only 1 Class= (see my example) <p> tag
Let's face it, there are garbage CSS as well as HTML code.
KISS you want to be able to 'read' the selectors and quickly understand what is going on, without drilling way deep through layers upon layers of Div, span, classes to see what ultimately affects the one word that looks awful. (I have seen 5 selectors, it was terrible to follow)
A quick peek says calibre 10 controls the style, except for the case we modify it with
'firstpara'
Important is to parse Selector lists Left to right. The last value is the one used.
OH!
firstpara just Zeroes the indent