View Single Post
Old 06-28-2015, 05:26 PM   #6
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Patricius View Post
However, for the epubs converted by calibre, every images seem to have their own classes .calibre_%d, which makes it harder to adjust image size by group.
Is There an option which stops calibre from doing this?
I think that is part of the CSS 'flattening' that Calibre does whenever it converts/creates an epub, it can cause other problems too such as preventing line spacing and other adjustment sliders working. Unfortunately there is no option to turn it off.

If you are going to load the books as kepubs then you might be able to make use of the !important modifier: The KEPUB and EPUB readers treat !important differently, in kepubs something like img {width:100% !important;} will override the width property of all subclasses of img, whereas in epubs it seems only to override img itself.

Last edited by GeoffR; 06-28-2015 at 05:28 PM. Reason: spelling
GeoffR is offline   Reply With Quote