View Single Post
Old 01-07-2021, 06:05 PM   #13
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Hitch View Post
If you get cute about it, you can make the entire top of your page, full-width, left-to-right, the image and that works mostly. Is it ideal, when someone opens said book on a SMALL smartphone? No, but it works, nonetheless. I would strongly recommend, though, that if the two can be extracted from each other--the number and the image--that you do so and stack them. That's my best recommendation.


Quote:
Originally Posted by Hitch View Post
Then slap that sucker in the code, stacking at the upper edge of the first "page" of the chapter (the top of the chapter's html file, IOW, right?) and that works okay. Is it FANtastic? No, but it works okay 99% of the time. If you just GOTTA have the original chapter head layout.
And then make sure to use proper alt on the image so that Text-to-Speech can read it:

Code:
<div class="chapterimage">
	<img alt="Chapter 1: The Prince Arrives" src="../Images/Chapter01.png"/>
</div>
... but I still say throw that chapter-heading-image idea in the trashcan and just use normal HTML headings (<h1>, <h2>, [...])!

Code:
<h2>Chapter 1: The Prince Arrives</h2>
Quote:
Originally Posted by Hitch View Post
[...] but if you are religious with your INDD file, and always use styles and do NOT use overrides, except very, very VERY sparingly, you can export a reflowable ePUB and then dive into the code (HTML/CSS) and clean it up. It's not undoable and it's not "horrible," as long as you're clean and tidy and good about your INDD usage.
And we all know how often that is...

Quote:
Originally Posted by JSWolf View Post
This is s duplicate thread. Go to https://www.mobileread.com/forums/sh...d.php?t=336240 for the original thread where you can see the solution.
Thanks.

Soon after I answered here, I was digging through the Calibre subforum and was scratching my head, wondering how I saw the image and never saw any of those discussions when I wrote my post!

Quote:
Originally Posted by BookWalker View Post
I think I know now that it's going to not work with floating text over an image. And I don't want the ebook to look crappy depending on what device it ends up on, settings, etc.
Yep, and that's the thing, you have to remember that ebooks will be read:

So usually a good test with an ebook that "looks okay on the surface":

Toss that baby on a cellphone, bump up the font size a little, turn on Night Mode, then turn the phone landscape, and see if it still holds up. Most of the time, all those "fancy tricks" will break.

Last edited by Tex2002ans; 01-07-2021 at 06:17 PM.
Tex2002ans is offline   Reply With Quote