Quote:
Originally Posted by jackie_w
If this was my book I'd definitely remove the images because first-letter images are useless if you use text-to-speech to 'read' books.
The approach I'd take would be:
1. Hope that the creator had used a useful naming convention for each image, e.g. first-letter-A.jpg, first-letter-B.jpg, etc. Then I'd construct a regex to cycle through them, find/replace one at a time (not replace all).
2. If that wasn't possible I'd still remove the images, but manually, the hard way.
3. For your compromise option, css something like the following might be acceptable:
Code:
img.drop {height:1em; width:auto}
|
trying that compromise now - i see that I had previously zapped the dropcap class stylings i.e. left them empty..
no joy. see thumbnail
( aha but that was a good clue- there is another class in the code AFTER The IMG SRC bit, and putting height 1em in that class does work, I just now need to fix the image colour if possible. if that is an impae property then id have to do the full manual replace I guess- can't override it
<span class="dropcaps1"><img alt="" src="../Images/Morg_9780345545657_epub_L05.jpg" class="calibre4"/></span>
so setting class calibre 4 to
height: 1em;
width: 1em
made things much better - in Sigil on PC anyway - thanks
thumbnail shows how it was before doing that.
final step is send a revised copy to my reading tablet to see if moon+ is also well behaved with the change