View Single Post
Old 01-12-2014, 07:05 AM   #1
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
Question force an addition to main body css ?

via calibre extra css, I want to force the line
adobe-text-layout: optimizeSpeed;
to be added into the main body class

i.e. the class that typically appears at the start of each chapter as
<body class="calibre">
after a conversion

I am not quite sure of the syntax ?

I know this extra CSs entry will work for p class
p { adobe-text-layout: optimizeSpeed; }

so do I just replace "p" with "body" or is it not quite that simple ?

the reason for wanting this is to prevent hyphenation in e-readers that use ADE2 engine - like my new Sony T3. I read that it is useful also for some Nook devices - tha this how I found it.
cybmole is offline   Reply With Quote