View Single Post
Old 06-10-2013, 06:01 AM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by AlPe View Post
I guess the "trick" you look for is due to the following two CSS declarations:

Code:
div.fr2 {float:none;height:0cm;text-align:left}
...
img.imgChant {float:none;width:auto}
Thanks for looking at this.

I spotted them indeed. But I could not reproduce an EPUB with background images using these two above classes. What happened was that the text was displayed not over the image but after it. Why a plain {float:none} would make an image stand in the background?

EDIT: Doh! maybe it's the underestimated - by me - height:0, which did this?
I try again. Failed.
Attached Files
File Type: epub Background.epub (123.5 KB, 348 views)

Last edited by roger64; 06-10-2013 at 06:13 AM.
roger64 is offline   Reply With Quote