Hello! I have been generating and validating an epub with a fair amount of anchored images, and generated mobi-files through the Kindle Previewer – and everything looked like it should. Now, however, whenever I generate a new epub and mobi (validated), the images get way stretched in Kindle Fire (they get much higher than they should be, looks like they are forced to display full height to fill the screen regardless of the width). The same happens in a Samsung Galaxy tablet but everything looks dandy in iBooks on the iPad + iPhone.
I can’t see how I can have touched anything to affect this along the way – I don’t know how it suddenly could start behaving like this. :( Since it started going wrong with the images, Kindle also only opens the file on Foreword, not on the front page.
A few examples from image containers in the CSS (I tried adding height:auto; without any luck):
#_idContainer020 {
display:inline-block;
width:62.67%;
}
#_idContainer022 {
display:inline-block;
width:61.54%;
}
#_idContainer023 {
height:99.92%;
left:0%;
position:absolute;
top:0.08%;
width:47.84%;
z-index:1;
}
#_idContainer024 {
height:99.92%;
left:52.16%;
position:absolute;
top:0%;
width:47.84%;
z-index:0;
Most of the images have this kind of formatting:
#_idContainer035 {
display:inline-block;
width:76.37%;
}
#_idContainer037 {
display:inline-block;
width:54.08%;
}
#_idContainer038 {
display:inline-block;
width:31.02%;
}
I am at my wit’s end and hoping someone here might be able to help me. Beforehand, thank you! :)