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 10-03-2012, 10:18 AM   #1
Oxford-eBooks
Connoisseur
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 84
Karma: 12096
Join Date: May 2010
Device: Loads!
Question 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?

Oxford-eBooks is offline   Reply With Quote
Old 10-03-2012, 11:32 AM   #2
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
Posts: 1,831
Karma: 1692648
Join Date: Jan 2009
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.
susan_cassidy is offline   Reply With Quote
 
Enthusiast
Old 10-03-2012, 12:10 PM   #3
Oxford-eBooks
Connoisseur
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 84
Karma: 12096
Join Date: May 2010
Device: Loads!
Quote:
Originally Posted by susan_cassidy View Post
.mobi does not support css attributes, only simple HTML.

ETA: some tools interpret some css into simple HTML for you.
The Kindle guidelines say that
Code:
page-break-after:always;
should be used for page-breaks, so I was hoping that they'd taken the time to also suport
Code:
:..avoid
http://kindlegen.s3.amazonaws.com/Am...Guidelines.pdf
Oxford-eBooks is offline   Reply With Quote
Old 10-03-2012, 01:50 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,873
Karma: 39839185
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."
DiapDealer is offline   Reply With Quote
Old 10-03-2012, 02:01 PM   #5
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
Posts: 1,831
Karma: 1692648
Join Date: Jan 2009
Device: Kindle, iPad (not used much for reading)
page-break-after:always; can be converted into a real page-break, avoid cannot.
susan_cassidy is offline   Reply With Quote
Old 10-05-2012, 06:14 AM   #6
Oxford-eBooks
Connoisseur
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 84
Karma: 12096
Join Date: May 2010
Device: Loads!
Quote:
Originally Posted by susan_cassidy View Post
page-break-after:always; can be converted into a real page-break, avoid cannot.
Looks like that's true.

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
Oxford-eBooks is offline   Reply With Quote
Old 10-05-2012, 06:15 AM   #7
Oxford-eBooks
Connoisseur
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 84
Karma: 12096
Join Date: May 2010
Device: Loads!
... turning off smilies might have helped in that last post! lol.
Oxford-eBooks 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
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


All times are GMT -4. The time now is 01:03 PM.


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