Quote:
Originally Posted by tpw
Since ePubs are basically glorified HTML pages I would have thought the appropriate background css style would have worked. Can you post the lines you used in the style file?
|
body {
text-align: justify;
background: url(chimage.jpg);
}
The text-align was already in there, I just added the background.
The file I experimented with was "Pride and Prejudice" off the Project Gutenberg website - etext#
1342. In the epub file from that site there are three .css files, the above change was made in 0.css and the result tested successfully in a normal browser before zipping, renaming back to epub and then installing into Calibre and from there to the reader.
The image file is from the right side of the first row of "stationery 1" on the link in the OP (called weep4 on the site but saves as chimage).
I wondered if that image may be too dark so I also experimented with an edited version - one that I washed out in The Gimp to almost white. But even that very faded file made everything completely unreadable - even the most faded grays seem to be being drawn by the reader as black. (I was going to attach a copy but the images on that site are not public-domain as such.)
This was something that I thought my limited html/css skills where up to ... and I do think I got it all right (certainly it works in a browser and the final epub works as intended/expected in the Calibre viewer).