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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2011, 08:03 PM   #1
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
images stretching on iPad epubs

This is a weird problem that I haven't run in before. I usually use images for my title headers. For the book I'm working on I applied a simple style to align them right. So this is what my CSS and image code looks like

Quote:
<p class="title"><img width="500" height="93" src="images/Title_FaceValue_fmt.jpeg" alt="Title_FaceValue.jpg"/></p>
Quote:
p.title{
text-align : right;
}
When I view my epub on an iPad, in single page mode, all the images look fine and display as they should. But when I turn the iPad to landscape, and have the book in spreads, my title images appear to be stretched a little tall. In fact, this is happening with all my images, but its most noticeable in the titles.

I'm really not sure what is causing this since I defined the width and height in each image.

Has anyone had this problem before?

Thanks in advance for any help!
SamL is offline   Reply With Quote
Old 12-22-2011, 06:01 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,321
Karma: 4964183
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Try removing the height and with specification from the <img>, they are not needed.
Jellby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple Store Rejecting ePubs with chapter images... Adjust ePub 5 12-15-2011 09:57 AM
Problem hyperlinking to images in ePubs Curious George ePub 3 11-29-2010 06:19 PM
how to get page breaks before and after images (using epubs In & Out) lhgrappler Calibre 9 10-06-2010 12:57 PM
Adding epubs to iTunes with cover images sartori ePub 31 09-30-2010 01:39 PM
A bug with images in epubs? Cyclops ePub 2 09-13-2010 11:57 AM


All times are GMT -4. The time now is 04:03 AM.


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