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 08-30-2010, 05:41 PM   #1
jharker
Developer
jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.
 
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Variable position / anchor for images?

Hey, folks!

I've been playing around with ePub (for iBooks) recently and have run into an interesting problem. I don't have much experience with CSS/XHTML, so it's entirely possible that this is a solved problem. I've searched around a bit but haven't found a solution, so I'm hoping someone here can help me!

The question is: how do I place a floating image into text, in such a way that it's not attached to a particular paragraph?

I want the text to wrap around the image, but I don't really care if the top of the image is aligned with the beginning of a paragraph. I also don't care whether the image is aligned with paragraph A or paragraph B, so long as it stays within a certain range of text (i.e. plus or minus 3-5 paragraphs).

The idea is to avoid those awkward page breaks where there is lots of empty space at the bottom of a page because an image comes next and the image won't fit onto the page. In this situation I want the next paragraph to start and the image to appear at the beginning of the next page (in the middle of a paragraph, if necessary).

Any ideas? All advice is much appreciated!
jharker is offline   Reply With Quote
Old 08-31-2010, 04:40 AM   #2
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,861
Karma: 85498352
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by jharker View Post
The question is: how do I place a floating image into text, in such a way that it's not attached to a particular paragraph?

I want the text to wrap around the image, but I don't really care if the top of the image is aligned with the beginning of a paragraph. I also don't care whether the image is aligned with paragraph A or paragraph B, so long as it stays within a certain range of text (i.e. plus or minus 3-5 paragraphs).
As far as I know, this just isn't possible in ePub.
pdurrant is online now   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
remove PDF footer containing variable? irisclara Calibre 10 03-06-2010 10:53 PM
Action Hutcheson, John C: Crown and Anchor. V1. 20 July 2009 crutledge Kindle Books 0 07-20-2009 08:04 PM
Kindle 1.2 update makes boat anchor scotty1024 Amazon Kindle 17 03-17-2009 11:34 PM
Annoying Variable Font Size Brandon202000 Sony Reader 2 12-18-2007 03:36 AM


All times are GMT -4. The time now is 06:05 AM.


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