Well, I have this ebook called "eBook Typography", by Chris Jennings -- which, surprisingly, doesn't validate and is chock full of zillions of errors

-- and in there he has all his chapter headings with a background image which work just great in iBooks... but which don't show up at all in ADE.
The way he says to do it, though (but which only works in iBooks) is as follows, quoted directly from his book:
Quote:
...what I have done here is to provide a background number as an image and then created a <div> with a rule that sets this in the centre of the page like this:
.one, .two, .three, .four, .five, .six {
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
}
and for each section the class name is changed:
div.one {
background-image: url(images/one.png);
}
One significant rule here is:
background-size: contain;
Which resizes the image to fill the page, but making all visible.
|
Like I said, seems to work great in iBooks, but the background image doesn't show up at all in ADE. I scoured the forums here (and elsewhere) for hours, though, and can't seem to find any alternative solution -- not one that's workable and reliable, anyway.