10-03-2012, 10:18 AM | #1 |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
page-break...:avoid / captions
Does anyone know anything new about the possibility of being able to use page-break-after:avoid on the Kindle? (Not the fire or touch).
I thought I'd give this a go again to havecaptions stay with images now that Amzon have 'fixed' the table problem where cells don't wrap across pages. I thought for a moment that it was working, but seems not. Are we doomed to never be able to keep captions with images without baking the text into the image? |
10-03-2012, 11:32 AM | #2 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
.mobi does not support css attributes, only simple HTML.
ETA: some tools interpret some css into simple HTML for you. |
Advert | |
|
10-03-2012, 12:10 PM | #3 | |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Quote:
Code:
page-break-after:always; Code:
:..avoid |
|
10-03-2012, 01:50 PM | #4 |
Grand Sorcerer
Posts: 27,872
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The only way to always, 100% of the time, ensure that captions stay with their images is to make the caption part of the image.
Even if you could get all devices to support page-break-after: avoid ... the value is still "avoid"... not "never." |
10-03-2012, 02:01 PM | #5 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
page-break-after:always; can be converted into a real page-break, avoid cannot.
|
Advert | |
|
10-05-2012, 06:14 AM | #6 | |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Quote:
Both <div style="page-break-before:always;"></div> and <mbp:pagebreak/> have the same effect on the Kindle 3 device and on Kindle Previewer. It looks like Kindle Previewer doesn't have the 3.5 update in it yet as the K3 previewer isn't showing embedded fonts. So I guess that kind of points to the CSS being intercepted and recoded as a <mbp:pagebreak/> because it even works on the DX previewer. Anyhoo... back on topic, I'm just going to have to use fall-back methods to TRY to ensure that captions stay with the images. I've got a nice robust method now that's working on all devices for the book I'm currently working on - it's got LOADS of images and captions. The publisher didn't want baked-in captions as the font wouldn't match the body text. I was right to avoid that too because it looks like Amazon have updated the font in 3.5 and who knows what they'll do in the future. Baked-in also kills the read-aloud (doesn't look like it reads the ALT or TITLE or CAPTION text either), and also no good for those that need a larger font due to sight problems. Last edited by Jellby; 10-05-2012 at 06:45 AM. Reason: disable smilies in tags |
|
10-05-2012, 06:15 AM | #7 |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
... turning off smilies might have helped in that last post! lol.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPad "page-break-after: avoid" not supports in Ipad. | Sushil | Apple Devices | 0 | 01-12-2012 05:14 AM |
Page-break-inside:avoid and mobi | AlexBell | Kindle Formats | 3 | 06-01-2011 06:03 AM |
How to avoid page break after heading/chapter | tkirke | ePub | 6 | 01-22-2010 02:12 PM |
Any way to avoid half page mode in landscape? | Greg G | Sony Reader | 4 | 10-06-2006 07:23 PM |