Quote:
Originally Posted by Psymon
...
That's interesting, as I've tried the epub there out in both iBooks and ADE, and indeed it seems to work just fine in both -- although looking at the code it's apparently making use of a background image (which supposedly should not work, or at least not be supported).
|
Yes, my solution uses a background image (that is because is what the OP of that thread wanted). And is perfectly valid

ADE supports background images (it's a bit buggy but all in all, supports background images).
Quote:
I'm not sure what to do. I want to do it "right", and then this example you gave here seems to work, and yet it's "wrong" (even though it validates, once I add the title/language in).
|
Why is wrong?

It's not wrong at all

If you use my solution, your ebook will work in iPad, ADE (and ereaders based on ADE) and Kindle.
Quote:
I just spent the last little while trying to put together something that I hoped would work based on what the guy did in that previous link I provided (here's the link again to save you scrolling/searching for it)...
https://www.mobileread.com/forums/sho...d.php?t=215430
I created the attached file based on that -- pretty much guessing my way through the CSS and adapting it into what I want to do.
If you look at the code in Sigil, you won't see the background image in the preview, BUT if you look at it in ADE, the background shows up, with the title text (etc.) overlaying like it's supposed to, and it's almost exactly how I'd like it to be except for the fact that I'm not sure how to get the image to resize itself to fit within the window and no bigger.
And, I don't know how to get it to work in iBooks (which it doesn't).
|
Use my solution

It's valid and simplifies the things. But now I know what you want, I think I can write some code without using background images but, why should we do that if already there is something that works and is simpler? (and also work in Sigil, ADE, iPad and Kindle

)
Quote:
It'd be so cool if I could get this to work right, without using background-image (even though RbnJrg seems to have no provided a solution that seems to work that way!).
|
I repeat you, is perfectly valid to use an image as background. It's not a wrong way to do the things.