View Single Post
Old 10-18-2019, 10:04 AM   #4
Cepheus
Member
Cepheus began at the beginning.
 
Cepheus's Avatar
 
Posts: 19
Karma: 10
Join Date: Mar 2019
Device: Kindle
Hi RbnJrg and Hitch, thanks so much for your replies. I really appreciate it. Sorry to respond so late but we've been trying to refine our code over the last couple of days. Just to further clarify I am referring to the kf8 format although it might be possible that customers purchase the Mobi and view it on earlier devices. We have gotten the code to work for kf8 although we need to test on other devices besides the Kinlde Fire. I'm assuming we will have problems with kf7 devices but at least its nice to know we can get it to work. If you're curious I put the code we used below for the image. Seems the tag 'background-size: contain' got the image to fill the div tag.

div.toc {
text-align: center;
text-indent: 0;
margin-top: -3em;
padding-top: 2em;
page-break-after: always;
background-image: url(../images/TOC_pageArt_ebook.jpg);
background-position: center top;
background-size: contain;
min-width: 100%;
min-height: 100%;
background-repeat: no-repeat;
}


Again, thanks very much for your replies. It definitely helped us out alot.
Cepheus is offline   Reply With Quote