|08-30-2010, 05:41 PM||#1|
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Variable position / anchor for images?
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!
|08-31-2010, 04:40 AM||#2|
The Grand Mouse 高貴的老鼠
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Paperwhite 3
|Thread Tools||Search this Thread|
|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|