Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 08-26-2013, 06:10 PM   #1
j.puff@ppp.eu
Junior Member
j.puff@ppp.eu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: some
Kindle paperwhite crop background-image on top/bottom

Hello,
as describe in the AmazonKindlePublishingGuidelines we developed fixedLayout-ePub with background-images. But for compatibility with other device, such as Sony, its necessary to use also an image in the div. In the css-mediaquery this image is omitted for kindle device.
Now the problem is, that if an img-tag is in the div with the background-image the background image is cropped on top an bottom. It seems that the width is determining. Without image everything is well.
Did anyone know this problem an perhaps a solution?
Thanks for help!
j.puff@ppp.eu is offline   Reply With Quote
Old 08-27-2013, 03:44 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,006
Karma: 10499963
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by j.puff@ppp.eu View Post
Hello,
as describe in the AmazonKindlePublishingGuidelines we developed fixedLayout-ePub with background-images. But for compatibility with other device, such as Sony, its necessary to use also an image in the div. In the css-mediaquery this image is omitted for kindle device.
Now the problem is, that if an img-tag is in the div with the background-image the background image is cropped on top an bottom. It seems that the width is determining. Without image everything is well.
Did anyone know this problem an perhaps a solution?
Thanks for help!

j.puff:

I'm not sure what you mean when you say:

Quote:
But for compatibility with other device, such as Sony, its necessary to use also an image in the div.
...given that a Kindle fixed-format book can't be read on a Sony. You can't make a Kindle-fixed format (FF) book that's going to work on other devices; for example, the coding for an iBooks FF book (or a Kobo) is completely different than the coding for a Kindle FF book. You can reuse some of the coding, to save some time, but you can't make a single file that will work across multiple platforms. You'll need separate files for each vendor/device. AFAIK, there isn't even a fixed-format layout for Sony, that I know of; so you need a file for iBooks, a file for Kobo, a file for B&N NookPress (if you have upload rights for this type of book) and a file for Amazon.

There's no point in attempting to create media-queries across platforms/devices in a fixed-format book. That's the gist.

Hitch
Hitch is offline   Reply With Quote
Old 08-28-2013, 11:58 AM   #3
j.puff@ppp.eu
Junior Member
j.puff@ppp.eu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: some
Thanks for the explanation!
But do you know, why background-images on a sony-reader are not scaled to the device size? iPad and Kindle-reader are able to do this.

best,
J.
j.puff@ppp.eu is offline   Reply With Quote
Reply

Tags
background-image, fixedlayout, img-tag

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle paperwhite crop background-image on top/bottom j.puff@ppp.eu Kindle Developer's Corner 1 08-26-2013 06:02 PM
Kindle in landscape mode cropping pdfs at top and bottom AceVentura Amazon Kindle 2 12-31-2011 02:05 PM
So, a book printed top to bottom is now a Kindle slayer Chi Cygni General Discussions 27 06-28-2011 05:59 AM
anyway to change Kindle top/bottom margin? cdpango Kindle Developer's Corner 2 11-28-2010 08:20 PM
Auto crop raster image PDF - any software? bthoven PDF 16 09-07-2010 02:55 PM


All times are GMT -4. The time now is 10:23 PM.


MobileRead.com is a privately owned, operated and funded community.