Quote:
Originally Posted by eclecticguy
Not sure how the extra "}" got there! It is not in my file.
This code with simple text does not work on the iPad. But, given the comment on w3schools about safari, firefox and chrome, it looks like WebKit does not support the "avoid" value. So, I think we can conclude that iPad will not support this non-breaking behavior.
|
My iPad has yet to arrive so I can't check. But I've also read that it doesn't honor page-break-before:always either.
If you absolutely need to keep the caption with the image (or other kind of block) and you don't mind it going to a second page, split the HTML file in two right before the image.
All ePub readers go to a new page when moving to a new HTML file.
Be sure to remove any page break code so you don't generate a blank page on readers that do honor them.