View Single Post
Old 07-28-2014, 08:10 PM   #1
MaxHenry
Junior Member
MaxHenry began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2014
Device: none
epub to mobi - keeping fixed images

Hi,

I've been using Calibre for a while, and love it. But I'm new to the CSS side of things.
I have ebooks with images used as the chapter header, and in order to make sure they stay relative to the readers device, I altered the CSS stylesheet as follows to make the image size a percentage:

.calibre4 {
height: 33%;
line-height: 1.2;
width: auto
}
.calibre5 {
height: 33%;
line-height: 1.2;
width: auto
}

This works perfectly for ePub, yet when I convert the altered ePub file to mobi, the changes are lost.

How can I get these alterations into the mobi file, so that images across Kindles will stay relative?

Thanks
MaxHenry is offline   Reply With Quote