View Single Post
Old 10-12-2014, 04:15 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
display:inline-block is not one of the supported (required) values in ePub 2, so use it at your own risk.

Other than that, by turning a <div> into inline-block, you're basically treating it as a character, so yes, the spacing will be affected and you'd have to tweak a few things.

page-break-inside:avoid, on the other hand, is a required property and value combination. It should be supported and it should work the way you want. Another difference is that it allows a page break if the whole block does not actually fit in a page, while the inline-block does, as far as I know, completely prohibit it, so the block would be clipped. Sadly, I'm afraid many readers ignore this setting, at least in some situations.
Jellby is offline   Reply With Quote